From: "Andrei A. Dergatchev" <A.Dergatchev@tn.utwente.nl>
To: axp-list@redhat.com
Subject: Re: glibc & ceil()
Date: Fri, 27 Oct 2000 15:25:39 +0200 [thread overview]
Message-ID: <39F98253.329A567@tn.utwente.nl> (raw)
In-Reply-To: 39F97F5E.7AEDED79@voicenet.com
A-ga, with math.h Sun C gives "-0"
Andrei
> Some one pointed out that i need to include math.h
>
> ie
> #inclued <math.h>
>
> to get the right casting.
> But even with the correct casting, a ceil( -0.5 ) gives me a 0.0
>
> /gat
next prev parent reply other threads:[~2000-10-27 13:24 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 [this message]
2000-10-27 17:40 ` Richard Henderson
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