]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/multiprecision/test/test_cpp_bin_float_io.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / multiprecision / test / test_cpp_bin_float_io.cpp
index 2214e5baec12836bb126d533b4e9569b265f8c5b..992a9e515b0e34203f950bad9c70bc9ca224a10b 100644 (file)
@@ -189,11 +189,7 @@ template <class T>
 void do_round_trip(const T& val, std::ios_base::fmtflags f)
 {
    std::stringstream ss;
-#ifndef BOOST_NO_CXX11_NUMERIC_LIMITS
    ss << std::setprecision(std::numeric_limits<T>::max_digits10);
-#else
-   ss << std::setprecision(std::numeric_limits<T>::digits10 + 3);
-#endif
    ss.flags(f);
    ss << val;
    T new_val = static_cast<T>(ss.str());