diff -up include/cxxtools/serializationinfo.h.than cxxtools-2.2.1/include/cxxtools/serializationinfo.h --- include/cxxtools/serializationinfo.h.than 2016-04-29 17:56:47.199954811 +0200 +++ include/cxxtools/serializationinfo.h 2016-04-29 17:59:22.002914734 +0200 @@ -181,9 +181,9 @@ class CXXTOOLS_API SerializationInfo { value = static_cast(_getUInt("unsigned long long", std::numeric_limits::max())); } #endif void getValue(float& value) const - { value = static_cast(_getFloat("float", std::numeric_limits::max())); } + { value = static_cast(_getFloat("float", static_cast(std::numeric_limits::max())*1.0000000000001)); } void getValue(double& value) const - { value = static_cast(_getFloat("double", std::numeric_limits::max())); } + { value = static_cast(_getFloat("double", static_cast(std::numeric_limits::max())*1.0000000000001)); } void getValue(long double& value) const { value = static_cast(_getFloat("long double", std::numeric_limits::max())); }