yaml-cpp/test
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
..
gtest-1.8.0 test: Upgrade googlemock 1.7.0 to googletest 1.8.0 2017-08-24 22:49:17 -05:00
integration Fix float precision (#649) 2018-12-21 09:05:19 -05:00
node Fix float precision (#649) 2018-12-21 09:05:19 -05:00
CMakeLists.txt Improvements to CMake buildsystem 2018-09-03 10:37:06 -05:00
create-emitter-tests.py 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.h Factored out HandlerTest as a base class 2014-03-23 16:26:44 -05:00
main.cpp Convert node tests to gtest 2014-03-23 19:21:13 -05:00
mock_event_handler.h 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
ostream_wrapper_test.cpp Run IWYU 2014-03-22 22:46:04 -05:00
regex_test.cpp add some tests for RegEx 2016-03-26 14:52:11 -04:00
specexamples.h Convert spec tests to gtest with gmock 2014-03-23 12:49:30 -05:00