Skip to content

Commit 736cc0c

Browse files
authored
[libc][math] fix failing nanl_test build (#77102)
1 parent 0f8adc8 commit 736cc0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/src/math/smoke/nanl_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class LlvmLibcNanlTest : public LIBC_NAMESPACE::testing::Test {
2828
long double result = LIBC_NAMESPACE::nanl(input_str);
2929
auto actual_fp = LIBC_NAMESPACE::fputil::FPBits<long double>(result);
3030
auto expected_fp = LIBC_NAMESPACE::fputil::FPBits<long double>(bits);
31-
EXPECT_EQ(actual_fp.bits, expected_fp.bits);
31+
EXPECT_EQ(actual_fp.uintval(), expected_fp.uintval());
3232
};
3333
};
3434

0 commit comments

Comments
 (0)