29 Jan
2019
29 Jan
'19
5:42 p.m.
Brian Kuhl wrote:
Where does boost::detail::lcast_get_precision<float>() come from, and why is it 9 ? Is it perhaps assuming some intermediate double conversion internally?
boost::detail::lcast_get_precision<double>() is 17, so no. My guess is that this is the precision that guarantees a perfect roundtrip.