Lines Matching +full:0 +full:x58000000
33 * threshold is used. The threshold is |x| < 0x1pN with N = -(P/2+M).
40 * 3. For 1 <= |x| < 0x1p(P-1), argument reduction is required where
42 * 0 <= r < 1. With the given domain, a simplified inline floor(x)
53 * 4. For |x| >= 0x1p(P-1), |x| is integral and cospi(x) = 1.
57 * cospi(+-0) = 1.
58 * cospi(n.5) = 0 for n an integer.
68 pi_hi = 3.1415926814079285e+00, /* 0x400921fb 0x58000000 */
69 pi_lo =-2.7818135228334233e-08; /* 0xbe5dde97 0x3dcb3b3a */
74 volatile static const double vzero = 0;
83 ix = hx & 0x7fffffff; in cospi()
86 if (ix < 0x3ff00000) { /* |x| < 1 */ in cospi()
87 if (ix < 0x3fd00000) { /* |x| < 0.25 */ in cospi()
88 if (ix < 0x3e200000) { /* |x| < 0x1p-29 */ in cospi()
89 if ((int)ax == 0) in cospi()
95 if (ix < 0x3fe00000) /* |x| < 0.5 */ in cospi()
97 else if (ix < 0x3fe80000){ /* |x| < 0.75 */ in cospi()
99 return (0); in cospi()
106 if (ix < 0x43300000) { /* 1 <= |x| < 0x1p52 */ in cospi()
111 if (ix < 0x3fe00000) { /* |x| < 0.5 */ in cospi()
112 if (ix < 0x3fd00000) /* |x| < 0.25 */ in cospi()
113 c = ix == 0 ? 1 : __kernel_cospi(ax); in cospi()
117 if (ix < 0x3fe80000) { /* |x| < 0.75 */ in cospi()
119 return (0); in cospi()
126 x -= 0x1p30; in cospi()
132 if (ix >= 0x7ff00000) in cospi()
136 * For 0x1p52 <= |x| < 0x1p53 need to determine if x is an even in cospi()
138 * For |x| >= 0x1p53, it is always an even integer, so return 1. in cospi()
140 return (ix < 0x43400000 ? ((lx & 1) ? -1 : 1) : 1); in cospi()