We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c092cad commit 81c5cf7Copy full SHA for 81c5cf7
libc/test/src/math/atanhf16_test.cpp
@@ -24,7 +24,7 @@ static constexpr uint16_t NEG_START = 0x8000U;
24
static constexpr uint16_t NEG_STOP = 0xFC00U;
25
26
TEST_F(LlvmLibcAtanhf16Test, PositiveRange) {
27
- for (uint16_t v = POS_START; v < POS_STOP; ++v) {
+ for (uint16_t v = POS_START; v <= POS_STOP; ++v) {
28
float16 x = FPBits(v).get_val();
29
EXPECT_MPFR_MATCH_ALL_ROUNDING(mpfr::Operation::Atanh, x,
30
LIBC_NAMESPACE::atanhf16(x), 0.5);
0 commit comments