|Pathologically Eclectic Rubbish Lister|
Re^2: [Win32, C, and way OT] C floats, doubles, and their equivalenceby syphilis (Chancellor)
|on Jul 19, 2009 at 00:12 UTC||Need Help??|
It's a stab in the dark ...
Good stab - I can make use of that. The following outputs "True False" on the buggy compilers (and "True True" on sane compilers):
I can apply that method (used to obtain that "True") to PDL, which solves the problem I have asked about. Unfortunately, while it enables me to get the behaviour I want with my C demo scripts, it's still not producing the correct result with PDL - but this is such a fickle bug. I'll have to play around with it some more.
PS: This is relevant to the work I do ensuring Windows compatibility for my XS distros
#if defined _MSC_VER && _MSC_VER < 1400 then expect weirdness if you start comparing floats with doubles.