/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 | e_pow.c | 76 tiny = 1.0e-300, variable 195 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny; in __ieee754_pow() 196 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny; in __ieee754_pow() 199 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny; in __ieee754_pow() 200 if(ix>0x3ff00000) return (hy>0)? s*huge*huge:s*tiny*tiny; in __ieee754_pow() 275 return s*tiny*tiny; /* underflow */ in __ieee754_pow() 277 if(p_l<=z-p_h) return s*tiny*tiny; /* underflow */ in __ieee754_pow()
|
D | s_scalbnf.c | 26 tiny = 1.0e-30; variable 39 if (n< -50000) return tiny*x; /*underflow*/ in scalbnf() 50 return tiny*copysignf(tiny,x); /*underflow*/ in scalbnf()
|
D | s_scalbn.c | 32 tiny = 1.0e-300; variable 45 if (n< -50000) return tiny*x; /*underflow*/ in scalbn() 56 return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
|
D | s_scalbnl.c | 40 tiny = 0x1p-16000L; variable 53 if (n< -50000) return tiny*x; /*underflow*/ in scalbnl() 64 return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
|
D | e_powf.c | 34 tiny = 1.0e-30, variable 139 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf() 140 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny; in __ieee754_powf() 218 return sn*tiny*tiny; /* underflow */ in __ieee754_powf() 220 if(p_l<=z-p_h) return sn*tiny*tiny; /* underflow */ in __ieee754_powf()
|
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_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_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_tanhf.c | 22 static const volatile float tiny = 1.0e-30; variable 54 z = one - tiny; /* raise inexact flag */ in tanhf()
|
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_tanh.c | 45 static const volatile double tiny = 1.0e-300; variable 77 z = one - tiny; /* raise inexact flag */ in tanh()
|
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 105 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */ in coshl()
|
D | s_tanhl.c | 41 static const volatile double tiny = 1.0e-300; variable 169 z = one - tiny; /* raise inexact flag */ in tanhl()
|
D | catrigl.c | 56 #define raise_inexact() do { volatile float junk __unused = 1 + tiny; } while(0) 94 tiny = 0x1p-100; variable
|
D | catrigf.c | 56 #define raise_inexact() do { volatile float junk __unused = 1 + tiny; } while(0) 75 tiny = 0x1p-100; variable
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | e_powl.c | 92 tiny = 1.0e-3000L; variable 274 return (hy < 0) ? huge * huge : tiny * tiny; in powl() 276 return (hy > 0) ? huge * huge : tiny * tiny; in powl() 280 return (hy < 0) ? huge * huge : tiny * tiny; in powl() 282 return (hy > 0) ? huge * huge : tiny * tiny; in powl() 399 return s * tiny * tiny; /* underflow */ in powl() 403 return s * tiny * tiny; /* underflow */ in powl()
|
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 | 48 tiny = 0x1p-10000L; variable 83 RETURNP(tiny * tiny); in expl() 232 RETURN2P(tiny, -1); /* good for x < -114ln2 - eps */ in expm1l()
|
/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/bsdsrc/ |
D | b_tgamma.c | 128 static const double zero = 0., one = 1.0, tiny = 1e-300; variable 147 u.a = one - tiny; /* raise inexact */ 300 return ((double)sgn*tiny*tiny);
|