This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

`rint' seems corrupted


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]