@@ -23,8 +23,7 @@ namespace LIBC_NAMESPACE_DECL {
2323static constexpr float16 ONE_OVER_TWO = 0 .5f16;
2424
2525#ifndef LIBC_MATH_HAS_SKIP_ACCURATE_PASS
26- static constexpr size_t N_ASINFPI_EXCEPTS = 5 ;
27- static constexpr float16 ONE_OVER_SIX = 0 .166748046875f16;
26+ static constexpr size_t N_ASINFPI_EXCEPTS = 3 ;
2827
2928static constexpr fputil::ExceptValues<float16, N_ASINFPI_EXCEPTS>
3029 ASINFPI_EXCEPTS{{
@@ -33,21 +32,12 @@ static constexpr fputil::ExceptValues<float16, N_ASINFPI_EXCEPTS>
3332 {0x0000 , 0x0000 , 0 , 0 , 0 },
3433
3534 // x = 1.0, asinfpi(1) = 1/2
36- {(fputil::FPBits<float16>(- 1 .0f16)).uintval (),
37- (fputil::FPBits<float16>(- ONE_OVER_TWO)).uintval (), 0 , 0 , 0 },
35+ {(fputil::FPBits<float16>(1 .0f16)).uintval (),
36+ (fputil::FPBits<float16>(ONE_OVER_TWO)).uintval (), 0 , 0 , 0 },
3837
3938 // x = -1.0, asinfpi(-1.0) = -1/2
4039 {(fputil::FPBits<float16>(-1 .0f16)).uintval (),
4140 (fputil::FPBits<float16>(-ONE_OVER_TWO)).uintval (), 0 , 0 , 0 },
42-
43- // x = 0.5, asinfpi(0.5) = 1/6
44- {(fputil::FPBits<float16>(0 .5f16)).uintval (),
45- (fputil::FPBits<float16>(ONE_OVER_SIX)).uintval (), 0 , 0 , 0 },
46-
47- // x = -0.5, asinfpi(0.5) = -1/6
48- {(fputil::FPBits<float16>(-0 .5f16)).uintval (),
49- (fputil::FPBits<float16>(-ONE_OVER_SIX)).uintval (), 0 , 0 , 0 },
50-
5141 }};
5242#endif // !LIBC_MATH_HAS_SKIP_ACCURATE_PASS
5343
0 commit comments