Lines Matching +full:0 +full:x3280
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
29 const int sign_index = xbits.is_neg() ? 1 : 0;
32 if (LIBC_UNLIKELY((x_abs >= 0x4170'0000U) || (x_abs <= 0x3da0'0000U))) {
33 if (x_abs <= 0x3da0'0000U) {
35 if (LIBC_UNLIKELY(x_abs <= 0x3280'0000U)) {
37 return (x_abs != 0)
38 ? static_cast<float>(x - 0x1.5555555555555p-2 * x * x * x)
42 const double TAYLOR[] = {-0x1.5555555555555p-2, 0x1.1111111111111p-3,
43 -0x1.ba1ba1ba1ba1cp-5, 0x1.664f4882c10fap-6,
44 -0x1.226e355e6c23dp-7};
49 double c0 = x2 * TAYLOR[0];
61 constexpr float SIGNS[2][2] = {{1.0f, -0x1.0p-25f}, {-1.0f, 0x1.0p-25f}};
64 return SIGNS[sign_index][0];
66 return SIGNS[sign_index][0] + SIGNS[sign_index][1];
102 constexpr double COEFFS[] = {0x1.ffffffffe5bc8p0, 0x1.555555555cd67p0,
103 0x1.5555c2a9b48b4p-1, 0x1.11112a0e34bdbp-2};
107 double c1 = fputil::multiply_add(dx, COEFFS[1], COEFFS[0]);