Xref: news-dnh.mv.net comp.os.msdos.djgpp:3558 Newsgroups: comp.os.msdos.djgpp Path: news-dnh.mv.net!mv!news.sprintlink.net!datalytics!news.ahc.ameritech.com!ddsw1!news.mcs.net!bug.rahul.net!a2i!genmagic!sgigate.sgi.com!enews.sgi.com!lll-winken.llnl.gov!hookup!jussieu.fr!fdn.fr!r2d2.fdn.org!uunet!in2.uu.net!news.mathworks.com!gatech2!EU.net!sun4nl!news.nic.surfnet.nl!frontier.tno.nl!tpdslipb From: antwerp AT tpd DOT tno DOT nl (Gert van Antwerpen) Subject: Bug in floor/ceil Summary: Bug in emulation code of floor/ceil? Keywords: floor,ceil,emulator Sender: usenet AT frontier DOT tno DOT nl (Usenet Postmaster id) Nntp-Posting-Host: tpdfp1.tpd.tno.nl Organization: TNO Institute of Applied Physiscs Date: Sat, 2 Dec 1995 14:45:35 GMT Lines: 19 To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp 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 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