Thread overview |
---|
October 16, 2007 [Issue 1589] New: D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1589 Summary: D2 phobos std.conv.toFloat("nan") fails Product: D Version: 2.006 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla@digitalmars.com ReportedBy: wbaxter@gmail.com 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. -- |
October 19, 2007 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- |
October 19, 2007 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bugzilla@digitalmars.com |andrei@metalanguage.com Status|ASSIGNED |NEW ------- Comment #1 from andrei@metalanguage.com 2007-10-19 13:04 ------- Fixed; the fix will go into the next minor release, when the bug will be closed. Thanks! -- |
October 19, 2007 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 andrei@metalanguage.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- |
December 09, 2007 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 ------- Comment #2 from wbaxter@gmail.com 2007-12-09 15:28 ------- 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... -- |
December 10, 2007 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 ------- Comment #3 from braddr@puremagic.com 2007-12-09 19:00 ------- 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. -- |
February 10, 2008 [Issue 1589] D2 phobos std.conv.toFloat("nan") fails | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1589 braddr@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #4 from braddr@puremagic.com 2008-02-10 03:15 ------- Fixed back in 2.009. -- |
Copyright © 1999-2021 by the D Language Foundation