This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: 1.1.0: wrong negative HUGE_VAL


>      The problem is that HUGE_VAL contains the wrong negative value
> -6.59614e-229. The following test program reproduces my probelm:

This is a bug.  I know what it is doing.  I am trying to determine how it is
happening.  For now an ugly hack to work around it is to add the following
to the very top of your main() function.

#ifdef __CYGWIN__
	__infinity.d = 1.0/0.0;
#endif

--
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]