Convert from string to double with number greater than std :: numeric_limit <double> :: digits10
std::string str = "12345679012.124678"; double back = boost::lexical_cast<double>( str ); std::string str2 =boost::lexical_cast<std::string>( back ); //here str2 is equal to str Is it normal that there are no losses (for example, the final string = orignal string), even if the number of significant digits is greater than std::numeric_limit<double>::digits10 (i.e. 15)?
+4