Re: [Boost-bugs] [Boost C++ Libraries] #5689: lexical_cast must understand "inf" and "nan"

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5689: lexical_cast must understand "inf" and "nan"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-16 04:22:43


#5689: lexical_cast must understand "inf" and "nan"
--------------------------------------+-------------------------------------
  Reporter: apolukhin | Owner: apolukhin
      Type: Bugs | Status: closed
 Milestone: Boost 1.48.0 | Component: lexical_cast
   Version: Boost Development Trunk | Severity: Regression
Resolution: fixed | Keywords: inf nan fininte
--------------------------------------+-------------------------------------

Comment (by anonymous):

 using 1.48 version of lexical_cast works for "nan" but throws a error for
 "NaN". I do not think there is a formal specification for Not-A-Number in
 string form, but "NaN" is a common usage form.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5689#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC