strtod does not implement the C99/C++11 standard - by Paul Scruby

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 794104 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 7/16/2013 5:53:48 AM
Access Restriction Public


Visual Studio 2012 and the Nov CTP implement the old C90/C++98 functionality and not the latest C99/C++11 standard.

In particular infinity, NaN and hexidecimal numbers are parsed incorrectly.
Sign in to post a comment.
Posted by Microsoft on 12/2/2013 at 12:16 PM

Thank you again for reporting this issue. I am pleased to report that we have fixed this for the next major release of Visual Studio.


James McNellis
Visual C++ Libraries
Posted by Microsoft on 8/13/2013 at 10:00 PM

Thank you for reporting this issue. C99 and C++11 Standard Library conformance is our top priority, but unfortunately due to time constraints, we are not able to complete all of this work for Visual Studio 2013. (Do note that we have made substantial improvements to the C Standard Library implementation; see Pat Brenner’s blog post for details: Our library implementation does not yet support parsing of strings containing hexadecimal float values or infinity and NaN strings. This affects both the string-to-floating-point conversion functions and the scanf family of functions.

Please feel free to contact me if you have any further questions.


James McNellis
Visual C++ Libraries
Posted by Microsoft on 7/17/2013 at 2:42 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 7/16/2013 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(