1.1.0: wrong negative HUGE_VAL
Parker, Ron
rdparker@butlermfg.com
Fri Jun 9 11:50:00 GMT 2000
> 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
More information about the Cygwin
mailing list