[libc++ patch] (and/or standard bug?): Let std::stof() call strtod / wcstod instead of strtof / wcstof
richard at metafoo.co.uk
Wed Jun 4 17:21:02 PDT 2014
On Wed, Jun 4, 2014 at 3:27 PM, Joerg Sonnenberger <joerg at britannica.bec.de>
> On Wed, Jun 04, 2014 at 02:51:49AM +0200, Nico Weber wrote:
> > 21.5p4 and 21.5p11 say that std::stof() and std::stod() are both supposed
> > to call strtod() (for char*) or wcstod() (for wchar_t*). libc++ currently
> > calls strtof() / wcstof() from std::stof(), so the attached patch fixes
> > this.
> This looks like a bug in the standard.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits