Lines Matching +full:hi +full:- +full:z
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 * Limited testing on pseudorandom numbers drawn within [-2e8:4e8] shows
45 pio4u = LD80C(0xc90fdaa22168c235, -00001, 7.85398163397448309628e-01L);
49 long double pio4 = 7.85398163397448309615660845819875721e-1L;
57 union IEEEl2bits z; in cosl() local
60 long double hi, lo; in cosl() local
62 z.e = x; in cosl()
63 z.bits.sign = 0; in cosl()
65 /* If x = +-0 or x is a subnormal number, then cos(x) = 1 */ in cosl()
66 if (z.bits.exp == 0) in cosl()
70 if (z.bits.exp == 32767) in cosl()
71 return ((x - x) / (x - x)); in cosl()
76 if (z.e < pio4) in cosl()
77 RETURNI(__kernel_cosl(z.e, 0)); in cosl()
80 hi = y[0]; in cosl()
85 hi = __kernel_cosl(hi, lo); in cosl()
88 hi = - __kernel_sinl(hi, lo, 1); in cosl()
91 hi = - __kernel_cosl(hi, lo); in cosl()
94 hi = __kernel_sinl(hi, lo, 1); in cosl()
98 RETURNI(hi); in cosl()