Skip to content

Commit fcc4f8a

Browse files
committed
use double ulp tolerance instead of float
1 parent a9deb29 commit fcc4f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/src/math/asinpif16_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TEST_F(LlvmLibcAsinpif16Test, PositiveRange) {
2727
for (uint16_t v = POS_START; v <= POS_STOP; ++v) {
2828
float16 x = FPBits(v).get_val();
2929
EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Asinpi, x,
30-
LIBC_NAMESPACE::asinpif16(x), 0.5f);
30+
LIBC_NAMESPACE::asinpif16(x), 0.5);
3131
}
3232
}
3333

0 commit comments

Comments
 (0)