yaml-cpp/include
Simon Gene Gottlieb 62a9a17009 use max_digits10 instead of digits (std::numeric_limits)
This replaces all occurrences of 'std::numeric_limits<T>::digits10 + 1' with
'std::numeric_limits<T>::max_digits10'.

This will satisfy the unit test 'NodeTest.FloatingPrecisionFloat'.

Background:
Using 'std::numeric_limits<T>::digits10 + 1' is not precise enough.
Converting a 'float' into a 'string' and back to a 'float' will not always
produce the original 'float' value. To guarantee that the 'string'
representation has sufficient precision the value
'std::numeric_limits<T>::max_digits10' has to be used.
2018-12-11 22:21:50 +01:00
..
yaml-cpp use max_digits10 instead of digits (std::numeric_limits) 2018-12-11 22:21:50 +01:00