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.


1
0
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

Description

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.

http://www.cplusplus.com/reference/cstdlib/strtod/
Sign in to post a comment.
Posted by James [MSFT] on 12/2/2013 at 12:16 PM
Hello,

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.

Sincerely,

James McNellis
Visual C++ Libraries
james.mcnellis@microsoft.com
Posted by James [MSFT] on 8/13/2013 at 10:00 PM
Hello,

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: http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx). 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.

Sincerely,

James McNellis
Visual C++ Libraries
james.mcnellis@microsoft.com
Posted by Macy [MSFT] 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 Macy [MSFT] 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(http://support.microsoft.com)