From 37db5ca5ce1e72e8069df0efb1b3dd0bc42133cd Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Mon, 7 Aug 2023 11:07:04 -0400 Subject: [PATCH] Remove unnecessary test special handling --- test/test_boost_json_values.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/test/test_boost_json_values.cpp b/test/test_boost_json_values.cpp index a06bb7f..43915b4 100644 --- a/test/test_boost_json_values.cpp +++ b/test/test_boost_json_values.cpp @@ -173,30 +173,6 @@ void check_accuracy(const char* nm, int max_ulp) T y {}; boost::charconv::from_chars(nm, nm + std::strlen(nm), y, boost::charconv::chars_format::scientific); - // TODO(mborland): This is tied to https://github.com/cppalliance/charconv/issues/37. Remove handling when complete. - BOOST_IF_CONSTEXPR (std::is_same::value) - { - if (x == HUGE_VALF && y == 0) - { - return; - } - } - else BOOST_IF_CONSTEXPR (std::is_same::value) - { - if (x == HUGE_VAL && y == 0) - { - return; - } - } - else - { - if (x == HUGE_VALL && y == 0) - { - return; - } - - } - Unsigned_Integer bx; Unsigned_Integer by; std::memcpy( &bx, &x, sizeof(x) );