Lines Matching refs:y
36 * Let y = |4x|, z = floor(y), and n = (int)(z mod 8.0) (displayed in binary).
37 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
54 * 000 (y-z)/4 sinpi(t) cospi(t) tanpi(t)
55 * 001 (z+1-y)/4 cospi(t) sinpi(t) 1/tanpi(t)
56 * 010 (y-z)/4 cospi(t) -sinpi(t) -1/tanpi(t)
57 * 011 (z+1-y)/4 sinpi(t) -cospi(t) -tanpi(t)
58 * 100 (y-z)/4 -sinpi(t) -cospi(t) tanpi(t)
59 * 101 (z+1-y)/4 -cospi(t) -sinpi(t) 1/tanpi(t)
60 * 110 (y-z)/4 -cospi(t) sinpi(t) -1/tanpi(t)
61 * 111 (z+1-y)/4 -sinpi(t) cospi(t) -tanpi(t)
102 long double y, z, t;
111 y = x - x;
114 y = zero;
116 y = (lx & 1) == 0 ? zero: -zero;
118 y = (lx & 1) == 0 ? zero : one;
120 y = -y;
124 y = __k_sinl(pi * fabsl(x), zero);
126 /* y = |4x|, z = floor(y), and n = (int)(z mod 8.0) */
127 y = 4.0L * fabsl(x);
129 z = y + twoPRECM2;
133 if (t == y)
135 else if (t > y) {
137 t = quater + (y - t) * quater;
139 t = (y - t) * quater;
141 n = LDBL_LEAST_SIGNIF_U(y) & 7; /* 3 LSb of z */
146 y = sqrth + tiny;
148 y = (n & 2) == 0 ? zero : one;
150 y = -y;
155 y = __k_sinl(pi * t, zero);
157 y = __k_cosl(pi * t, zero);
159 y = -y;
162 return (hx >= 0 ? y : -y);