/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | e_atan2f.c | 23 tiny = 1.0e-30; variable 53 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in __ieee754_atan2f() 54 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in __ieee754_atan2f() 58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2f() 64 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */ in __ieee754_atan2f() 65 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */ in __ieee754_atan2f() 66 case 2: return (float)3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/ in __ieee754_atan2f() 67 case 3: return (float)-3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/ in __ieee754_atan2f() 73 case 2: return pi+tiny ; /* atan(+...,-INF) */ in __ieee754_atan2f() 74 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in __ieee754_atan2f() [all …]
|
D | e_atan2.c | 51 tiny = 1.0e-300; variable 82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in __ieee754_atan2() 83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in __ieee754_atan2() 87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny; in __ieee754_atan2() 93 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */ in __ieee754_atan2() 94 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */ in __ieee754_atan2() 95 case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/ in __ieee754_atan2() 96 case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/ in __ieee754_atan2() 102 case 2: return pi+tiny ; /* atan(+...,-INF) */ in __ieee754_atan2() 103 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in __ieee754_atan2() [all …]
|
D | e_atan2l.c | 31 tiny = 1.0e-300; variable 75 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in atan2l() 76 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in atan2l() 81 return (expsigny<0)? -pio2_hi-tiny: pio2_hi+tiny; in atan2l() 87 case 0: return pio2_hi*0.5+tiny;/* atan(+INF,+INF) */ in atan2l() 88 case 1: return -pio2_hi*0.5-tiny;/* atan(-INF,+INF) */ in atan2l() 89 case 2: return 1.5*pio2_hi+tiny;/*atan(+INF,-INF)*/ in atan2l() 90 case 3: return -1.5*pio2_hi-tiny;/*atan(-INF,-INF)*/ in atan2l() 96 case 2: return pi+tiny ; /* atan(+...,-INF) */ in atan2l() 97 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in atan2l() [all …]
|
D | s_scalbnf.c | 29 tiny = 1.0e-30; variable 42 if (n< -50000) return tiny*x; /*underflow*/ in scalbnf() 52 else return tiny*copysignf(tiny,x); /*underflow*/ in scalbnf()
|
D | s_scalbn.c | 34 tiny = 1.0e-300; variable 47 if (n< -50000) return tiny*x; /*underflow*/ in scalbn() 57 else return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
|
D | s_scalbnl.c | 42 tiny = 0x1p-16000L; variable 55 if (n< -50000) return tiny*x; /*underflow*/ in scalbnl() 65 else return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
|
D | e_pow.c | 72 tiny = 1.0e-300, variable 191 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny; in __ieee754_pow() 192 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny; in __ieee754_pow() 195 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny; in __ieee754_pow() 196 if(ix>0x3ff00000) return (hy>0)? s*huge*huge:s*tiny*tiny; in __ieee754_pow() 271 return s*tiny*tiny; /* underflow */ in __ieee754_pow() 273 if(p_l<=z-p_h) return s*tiny*tiny; /* underflow */ in __ieee754_pow()
|
D | e_sqrtf.c | 23 static const float one = 1.0, tiny=1.0e-30; variable 76 z = one-tiny; /* trigger inexact flag */ in __ieee754_sqrtf() 78 z = one+tiny; in __ieee754_sqrtf()
|
D | s_tanhf.c | 22 static const volatile float tiny = 1.0e-30; variable 54 z = one - tiny; /* raise inexact flag */ in tanhf()
|
D | s_tanh.c | 45 static const volatile double tiny = 1.0e-300; variable 77 z = one - tiny; /* raise inexact flag */ in tanh()
|
D | s_erff.c | 23 static const volatile float tiny = 1e-30; variable 111 if(hx>=0) return one-tiny; else return tiny-one; in erff() 171 if(hx<0&&ix>=0x40a00000) return two-tiny;/* x < -5 */ in erfcf() 179 if(hx>0) return tiny*tiny; else return two-tiny; in erfcf()
|
D | e_powf.c | 31 tiny = 1.0e-30, variable 136 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf() 137 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf() 215 return sn*tiny*tiny; /* underflow */ in __ieee754_powf() 217 if(p_l<=z-p_h) return sn*tiny*tiny; /* underflow */ in __ieee754_powf()
|
D | e_sqrt.c | 92 static const double one = 1.0, tiny=1.0e-300; variable 172 z = one-tiny; /* trigger inexact flag */ in __ieee754_sqrt() 174 z = one+tiny; in __ieee754_sqrt()
|
D | s_expm1f.c | 26 tiny = 1.0e-30, variable 62 if(x+tiny<(float)0.0) /* raise inexact */ in expm1f() 63 return tiny-one; /* return -1 */ in expm1f()
|
D | s_erf.c | 115 static const volatile double tiny= 1e-300; variable 227 if(hx>=0) return one-tiny; else return tiny-one; in erf() 294 if(hx<0&&ix>=0x40180000) return two-tiny;/* x < -6 */ in erfc() 303 if(hx>0) return tiny*tiny; else return two-tiny; in erfc()
|
D | s_expm1.c | 118 tiny = 1.0e-300, variable 156 if(x+tiny<0.0) /* raise inexact */ in expm1() 157 return tiny-one; /* return -1 */ in expm1()
|
D | e_coshl.c | 40 static const volatile long double huge = 0x1p10000L, tiny = 0x1p-10000L; variable 103 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */ in coshl()
|
D | s_tanhl.c | 41 static const volatile double tiny = 1.0e-300; variable 167 z = one - tiny; /* raise inexact flag */ in tanhl()
|
D | catrig.c | 40 #define raise_inexact() do { volatile float junk = 1 + tiny; } while(0) 61 tiny = 0x1p-100; variable
|
D | catrigf.c | 54 #define raise_inexact() do { volatile float junk = 1 + tiny; } while(0) 73 tiny = 0x1p-100; variable
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | ldexp.c | 85 tiny = 1.0e-300; variable 108 if (n< -50000) return tiny*x; /*underflow*/ in ldexp() 118 else return tiny*_copysign(tiny,x); /*underflow*/ in ldexp()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | s_erfl.c | 28 static const volatile long double tiny = 0x1p-10000L; variable 232 if(x>=0) return (one-tiny); else return (tiny-one); in erfl() 317 if(x < -9) return two-tiny; /* x < -9 */ in erfcl() 327 if(x>0) return tiny*tiny; else return two-tiny; in erfcl()
|
D | s_expl.c | 46 tiny = 0x1p-10000L; variable 81 RETURNP(tiny * tiny); in expl() 230 RETURN2P(tiny, -1); /* good for x < -114ln2 - eps */ in expm1l()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_tgamma.c | 126 static const double zero = 0., one = 1.0, tiny = 1e-300; variable 145 u.a = one - tiny; /* raise inexact */ 298 return ((double)sgn*tiny*tiny);
|