Skip to content

Commit

Permalink
Test add comments to float types
Browse files Browse the repository at this point in the history
  • Loading branch information
fdwr committed Feb 21, 2023
1 parent 0155c5f commit 686f9d3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions BiNumsTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<float>::quiet_NaN(),
-std::numeric_limits<float>::quiet_NaN(),
std::numeric_limits<float>::infinity(),
Expand All @@ -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<float>::quiet_NaN(),
-std::numeric_limits<float>::quiet_NaN(),
std::numeric_limits<float>::infinity(),
Expand All @@ -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<float>::quiet_NaN(),
-std::numeric_limits<float>::quiet_NaN(),
std::numeric_limits<float>::infinity(),
Expand All @@ -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<float>::min(),
-std::numeric_limits<float>::min(),
std::numeric_limits<float>::max(),
Expand Down

0 comments on commit 686f9d3

Please sign in to comment.