Lines Matching refs:TRUNC
134 * TRUNC sets trailing bits in a floating-point number to zero.
139 #define TRUNC(x) x = (double) (float) (x)
142 #define TRUNC(x) *(((int *) &x) + endian) &= 0xf8000000
192 TRUNC(v.a);
220 TRUNC(r.a);
229 TRUNC(r.a);
248 t = x, TRUNC(t);
251 xx.a = (t + x), TRUNC(xx.a);
257 xx.a = x, TRUNC(xx.a);
263 d = r.a/x, TRUNC(d);
282 t.a = z, TRUNC(t.a); /* t ~= z + c */
286 TRUNC(t.a);
288 r.a = p, TRUNC(r.a); /* r = P/Q */
292 r.a = t.a + a0_hi, TRUNC(r.a);
325 lsine = __log__D(M_PI/z); /* = TRUNC(log(u)) + small */