Lines Matching refs:p
35 __ieee754_remainder(double x, double p) in __ieee754_remainder() argument
42 EXTRACT_WORDS(hp,lp,p); in __ieee754_remainder()
48 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainder()
52 return ((long double)x*p)/((long double)x*p); in __ieee754_remainder()
55 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ in __ieee754_remainder()
58 p = fabs(p); in __ieee754_remainder()
60 if(x+x>p) { in __ieee754_remainder()
61 x-=p; in __ieee754_remainder()
62 if(x+x>=p) x -= p; in __ieee754_remainder()
65 p_half = 0.5*p; in __ieee754_remainder()
67 x-=p; in __ieee754_remainder()
68 if(x>=p_half) x -= p; in __ieee754_remainder()