diff options
author | Nishant Mittal <nishantwrp@google.com> | 2024-01-05 20:19:51 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 09:49:51 -0500 |
commit | 736cc0cbf0107f6a1678a5495e1931733ab57393 (patch) | |
tree | d50692386062037c7bba70815017a28c250942ac | |
parent | 0f8adc8d30d2cd4a9fcf8455b64a1d66fa971339 (diff) |
[libc][math] fix failing nanl_test build (#77102)
-rw-r--r-- | libc/test/src/math/smoke/nanl_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/src/math/smoke/nanl_test.cpp b/libc/test/src/math/smoke/nanl_test.cpp index c0e954016112..0a57b567916c 100644 --- a/libc/test/src/math/smoke/nanl_test.cpp +++ b/libc/test/src/math/smoke/nanl_test.cpp @@ -28,7 +28,7 @@ public: long double result = LIBC_NAMESPACE::nanl(input_str); auto actual_fp = LIBC_NAMESPACE::fputil::FPBits<long double>(result); auto expected_fp = LIBC_NAMESPACE::fputil::FPBits<long double>(bits); - EXPECT_EQ(actual_fp.bits, expected_fp.bits); + EXPECT_EQ(actual_fp.uintval(), expected_fp.uintval()); }; }; |