public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* `rint' seems corrupted
@ 2000-08-24 16:53 Jerome Benoit
  0 siblings, 0 replies; only message in thread
From: Jerome Benoit @ 2000-08-24 16:53 UTC (permalink / raw)
  To: Cygnus

I have just try thefollowing C code:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>..
#include <math.h>

main() {
  printf("%e\n",rint(0.847));
  }
<<<<<<<<<<<<<<<<<<<<<<<<<<
when I run it, I get the amazing output:

8.125000e-01

Did I miss something ?

Thanks inadvance,
Jerome BENOIT


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-24 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-24 16:53 `rint' seems corrupted Jerome Benoit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).