[libc-commits] [libc] [libc] Enable more entrypoints for riscv (PR #102055)
via libc-commits
libc-commits at lists.llvm.org
Tue Aug 6 07:57:36 PDT 2024
================
@@ -57,7 +62,15 @@ class SetPayloadTestTemplate : public LIBC_NAMESPACE::testing::FEnvSafeTest {
EXPECT_EQ(FPBits::quiet_nan(Sign::POS, 0x123).uintval(),
FPBits(res).uintval());
- EXPECT_EQ(0, func(&res, T(FPBits::FRACTION_MASK >> 1)));
+ // The following code is creating a NaN manually to prevent a conversion
----------------
overmighty wrote:
Nit: it's creating the payload which will be stored in the NaN mantissa. It's not creating the NaN itself.
https://github.com/llvm/llvm-project/pull/102055
More information about the libc-commits
mailing list