[libc-commits] [libc] 2dd527b - [libc] fix strtofloat test with 128 bit floats
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Tue Feb 28 10:59:09 PST 2023
Author: Michael Jones
Date: 2023-02-28T10:59:03-08:00
New Revision: 2dd527b6f820704d1e56bfb322b1b1567f1e8373
URL: https://github.com/llvm/llvm-project/commit/2dd527b6f820704d1e56bfb322b1b1567f1e8373
DIFF: https://github.com/llvm/llvm-project/commit/2dd527b6f820704d1e56bfb322b1b1567f1e8373.diff
LOG: [libc] fix strtofloat test with 128 bit floats
Differential Revision: https://reviews.llvm.org/D144991
Added:
Modified:
libc/test/src/__support/str_to_float_test.cpp
Removed:
################################################################################
diff --git a/libc/test/src/__support/str_to_float_test.cpp b/libc/test/src/__support/str_to_float_test.cpp
index df2a8a45752d2..b5bb3b931a8af 100644
--- a/libc/test/src/__support/str_to_float_test.cpp
+++ b/libc/test/src/__support/str_to_float_test.cpp
@@ -349,7 +349,7 @@ TEST_F(LlvmLibcStrToFloatTest, EiselLemireFloat128Fallback) {
ASSERT_FALSE(
__llvm_libc::internal::eisel_lemire<long double>(
{(UInt128(0x5ce0e9a56015fec5) << 64) + UInt128(0xaadfa328ae39b333),
- 1}, )
+ 1})
.has_value());
}
#endif
More information about the libc-commits
mailing list