Lines Matching refs:p
34 __ieee754_remainder(double x, double p) in __ieee754_remainder() argument
41 EXTRACT_WORDS(hp,lp,p); in __ieee754_remainder()
47 if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */ in __ieee754_remainder()
51 return (x*p)/(x*p); in __ieee754_remainder()
54 if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */ in __ieee754_remainder()
57 p = fabs(p); in __ieee754_remainder()
59 if(x+x>p) { in __ieee754_remainder()
60 x-=p; in __ieee754_remainder()
61 if(x+x>=p) x -= p; in __ieee754_remainder()
64 p_half = 0.5*p; in __ieee754_remainder()
66 x-=p; in __ieee754_remainder()
67 if(x>=p_half) x -= p; in __ieee754_remainder()