From 686f9d3f8162f54177c1cfbf7a04d8027d201366 Mon Sep 17 00:00:00 2001 From: Dwayne Robinson Date: Tue, 21 Feb 2023 01:15:07 -0800 Subject: [PATCH] Test add comments to float types --- BiNumsTest.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/BiNumsTest.cpp b/BiNumsTest.cpp index 85ed1aa..e81766f 100644 --- a/BiNumsTest.cpp +++ b/BiNumsTest.cpp @@ -206,8 +206,8 @@ bool VerifyFloatingTypes() -1.0f, 0.5f, -0.5f, - 224.0f, - -224.0f, + 224.0f, // Maximum value + -224.0f, // Maximum value std::numeric_limits::quiet_NaN(), -std::numeric_limits::quiet_NaN(), std::numeric_limits::infinity(), @@ -219,8 +219,8 @@ bool VerifyFloatingTypes() -1.0f, 0.5f, -0.5f, - 65504.0f, - -65504.0f, + 65504.0f, // Maximum precise value + -65504.0f, // Maximum precise value std::numeric_limits::quiet_NaN(), -std::numeric_limits::quiet_NaN(), std::numeric_limits::infinity(), @@ -232,8 +232,8 @@ bool VerifyFloatingTypes() -1.0f, 0.5f, -0.5f, - 65280.0f, - -65280.0f, + 65280.0f, // Maximum value + -65280.0f, // Maximum value std::numeric_limits::quiet_NaN(), -std::numeric_limits::quiet_NaN(), std::numeric_limits::infinity(), @@ -247,8 +247,8 @@ bool VerifyFloatingTypes() -0.5, 65504.0, -65504.0, - 16777216.0, - -16777216.0, + 16777216.0, // Maximum precise value + -16777216.0, // Maximum precise value std::numeric_limits::min(), -std::numeric_limits::min(), std::numeric_limits::max(),