From 0981b1514efb7eb89d27acfd481374c5d99e494a Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Tue, 3 Nov 2015 13:52:41 -0500 Subject: [PATCH] Slay "undeflow." --- test/HexFloat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/HexFloat.cpp b/test/HexFloat.cpp index 7f49e9a..c578722 100644 --- a/test/HexFloat.cpp +++ b/test/HexFloat.cpp @@ -264,7 +264,7 @@ INSTANTIATE_TEST_CASE_P( {"-0x1p-500", -0.f}, {"0x0.00000000001p-126", 0.f}, // Fraction causes underflow. {"-0x0.0000000001p-127", -0.f}, - {"-0x0.01p-142", -0.f}, // Fraction causes undeflow to underflow. + {"-0x0.01p-142", -0.f}, // Fraction causes additional underflow. {"0x0.01p-142", 0.f}, // Some floats that do not encode the same way as they decode. @@ -297,7 +297,7 @@ INSTANTIATE_TEST_CASE_P( {"-0x1p-5000", -0.}, {"0x0.0000000000000001p-1023", 0.}, // Fraction causes underflow. {"-0x0.000000000000001p-1024", -0.}, - {"-0x0.01p-1090", -0.f}, // Fraction causes undeflow to underflow. + {"-0x0.01p-1090", -0.f}, // Fraction causes additional underflow. {"0x0.01p-1090", 0.}, // Some floats that do not encode the same way as they decode. -- 2.7.4