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