| delorie.com/archives/browse.cgi | search |
| Date: | Sat, 2 Dec 1995 15:22:19 -0800 |
| From: | Sam Vincent <svincent AT cs DOT sonoma DOT edu> |
| To: | antwerp AT tpd DOT tno DOT nl, djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | Re: Bug in floor/ceil |
> Hai folks,
I found a problem in the floor/ceil of the emu386.dxe and libemu.a.
The following program gives 3 times zero (0)!
#include <math.h>
main()
{
printf("%g\n",floor(.1));
printf("%g\n",floor(.5));
printf("%g\n",floor(.9));
}
Gert van Antwerpen
TNO Institute of Applied Physics
Phone: The Netherlands 015-2692225
antwerp AT tpd DOT tno DOT nl
-----
Um.. that's what it's supposed to be... where's the problem?
-Sam
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |