commit | 33ae65b778870a7d81fda608859c3cd2a6e9711c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jul 22 18:01:13 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Mon Jul 22 18:01:13 2024 +0000 |
tree | 6e0c3c5dc9814af608d9d9171d4a5bd044d11f7f | |
parent | d6a1fc2f0ac35aa0824e3706b788b5e278426baf [diff] [blame] |
Assert that FLT_EVAL_METHOD is 0 for our supported architectures. Change-Id: I5e847f098c1d80dcb93dddc1b25191b0dc84ebee
diff --git a/tests/float_test.cpp b/tests/float_test.cpp index 3ef4593..a2b7ecb 100644 --- a/tests/float_test.cpp +++ b/tests/float_test.cpp
@@ -122,3 +122,7 @@ #error LDBL_HAS_SUBNORM #endif } + +TEST(float_h, FLT_EVAL_METHOD_exact) { + ASSERT_EQ(0, FLT_EVAL_METHOD); +}