The unittest for std.conv fails on Windows.
Looks like toFloat is relying on strtof to convert the string "nan" into a float. However, at least on Windows that doesn't seem to happen.
Comment #1 by andrei — 2007-10-19T13:04:15Z
Fixed; the fix will go into the next minor release, when the bug will be
closed. Thanks!
Comment #2 by wbaxter — 2007-12-09T15:28:37Z
This still isn't fixed.
It now properly converts to nan, but it throws an exception because parseFloating doesn't zero the length of the input string.
I sense that testing on Windows is weak currently...
Comment #3 by braddr — 2007-12-09T19:00:01Z
Second part of the fix checked in. Yes, windows testing is weak at best. Neither Andrei or I use it. I have it available, just isn't part of my main stream usage.