Lines Matching refs:y
35 * Let y = |4x|, z = floor(y), and n = (int)(z mod 8.0) (displayed in binary).
36 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
53 * 000 (y-z)/4 sinpi(t) cospi(t) tanpi(t)
54 * 001 (z+1-y)/4 cospi(t) sinpi(t) 1/tanpi(t)
55 * 010 (y-z)/4 cospi(t) -sinpi(t) -1/tanpi(t)
56 * 011 (z+1-y)/4 sinpi(t) -cospi(t) -tanpi(t)
57 * 100 (y-z)/4 -sinpi(t) -cospi(t) tanpi(t)
58 * 101 (z+1-y)/4 -cospi(t) -sinpi(t) 1/tanpi(t)
59 * 110 (y-z)/4 -cospi(t) sinpi(t) -1/tanpi(t)
60 * 111 (z+1-y)/4 -sinpi(t) cospi(t) -tanpi(t)
103 long double y, z, t;
112 y = x - x;
115 y = zero;
117 y = (lx & 1) == 0 ? zero: -zero;
119 y = (lx & 1) == 0 ? zero : one;
121 y = -y;
126 y = __k_sinl(pi * fabsl(x), zero);
128 /* y = |4x|, z = floor(y), and n = (int)(z mod 8.0) */
129 y = 4.0L * fabsl(x);
131 z = y + twoPRECM2;
135 if (t == y)
137 else if (t > y) {
139 t = quater + (y - t) * quater;
142 t = (y - t) * quater;
145 n = LDBL_LEAST_SIGNIF_U(y) & 7; /* 3 LSb of z */
150 y = sqrth + tiny;
152 y = (n & 2) == 0 ? zero : one;
154 y = -y;
160 y = __k_sinl(pi * t, zero);
162 y = __k_cosl(pi * t, zero);
164 y = -y;
167 return hx >= 0 ? y : -y;