id summary reporter owner description type status milestone component version severity resolution keywords cc 6562 "boost::lexical_cast works for ""nan"" but throws an error for ""NaN""" anonymous Antony Polukhin "using 1.48 version of lexical_cast works for ""nan"" but throws an 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. I have not checked for other variations such as Inf, +Inf, or -Inf which also are common variations" Bugs closed Boost 1.50.0 lexical_cast Boost 1.48.0 Problem fixed lexical_cast