yaml-cpp/test/integration
Simon Gene Gottlieb abf941b20d Fix float precision (#649)
The issue is that numbers like
2.01 or 3.01 can not be precisely represented with binary floating point
numbers.

This replaces all occurrences of 'std::numeric_limits<T>::digits10 + 1' with
'std::numeric_limits<T>::max_digits10'.

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-21 09:05:19 -05:00
..
emitter_test.cpp Fix float precision (#649) 2018-12-21 09:05:19 -05:00
encoding_test.cpp Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting 2015-01-24 12:19:20 -06:00
gen_emitter_test.cpp Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting 2015-01-24 12:19:20 -06:00
handler_spec_test.cpp Add EmitterStyle, which will allow sequence or map style (i.e., flow or block) to be preserved between parsing and emitting 2015-01-24 12:19:20 -06:00
handler_test.cpp Fix scalar parsing when a line starts with a comment. 2016-04-02 16:02:26 -05:00
load_node_test.cpp Skip newlines in binary decoding (Fix #387) (#616) 2018-09-03 15:55:45 -05:00
node_spec_test.cpp Add flow/block style setting on Nodes 2015-01-24 13:11:43 -06:00