Lines Matching refs:x
30 remainder64(__float64 x, __float64 p) in remainder64() argument
36 EXTRACT_WORDS(hx, lx, x); in remainder64()
43 if (isnan(x) || isnan(p)) in remainder64()
44 return x + p; in remainder64()
46 if (isinf(x) || (hp | lp) == 0) in remainder64()
47 return __math_invalid(x); in remainder64()
50 return (x * p) / (x * p); /* p = 0 */ in remainder64()
53 x = fmod(x, p + p); /* now x < 2p */ in remainder64()
56 return zero * x; in remainder64()
57 x = fabs64(x); in remainder64()
60 if (x + x > p) { in remainder64()
61 x -= p; in remainder64()
62 if (x + x >= p) in remainder64()
63 x -= p; in remainder64()
67 if (x > p_half) { in remainder64()
68 x -= p; in remainder64()
69 if (x >= p_half) in remainder64()
70 x -= p; in remainder64()
73 GET_HIGH_WORD(hx, x); in remainder64()
74 SET_HIGH_WORD(x, hx ^ sx); in remainder64()
75 return x; in remainder64()