On Sun, 27 May 2007, Marcus Meissner wrote: [...]
Why doesn't the code try using the INFINITY and NAN #defines? Would this help with Visual C++?
Do you mean the INFINITY macro defined in /usr/include/bits/inf.h? (which one gets through math.h)
I have not found any macro called INFINITY in the PSDK or the Visual C++ headers. So this would not work.
Visual C++'s math.h header has a _HUGE and a HUGE symbol that look like they could be +INFINITY but this would not work in Wine (Winelib apps cannot import exported variables).