From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: glibc & ceil()
Date: Fri, 27 Oct 2000 10:40:07 -0700 [thread overview]
Message-ID: <20001027104007.A12139@twiddle.net> (raw)
In-Reply-To: <39F96FF5.7F22DA9C@voicenet.com>
On Fri, Oct 27, 2000 at 07:07:17AM -0500, Uncle George wrote:
> > is the correct result of ceil( -0.5) -0.0 or 0.0 ?
-0.0.
Ceil and floor always preserve the sign of the input.
There was a bug in the alpha glibc implementation
for a while (I don't recall when it was introduced).
It has been fixed for the upcoming 2.2 release.
r~
prev parent reply other threads:[~2000-10-27 17:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <39F8090C.4268451C@voicenet.com>
2000-10-27 12:07 ` glibc & ceil() Uncle George
2000-10-27 12:45 ` Andrei A. Dergatchev
2000-10-27 13:13 ` Uncle George
2000-10-27 13:25 ` Andrei A. Dergatchev
2000-10-27 17:40 ` Richard Henderson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox