Home
last modified time | relevance | path

Searched refs:tiny (Results 1 – 25 of 26) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
De_atan2f.c23 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 …]
De_atan2.c51 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 …]
De_atan2l.c31 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 …]
Ds_scalbnf.c26 tiny = 1.0e-30; variable
39 if (n< -50000) return tiny*x; /*underflow*/ in scalbnf()
50 return tiny*copysignf(tiny,x); /*underflow*/ in scalbnf()
Ds_scalbn.c32 tiny = 1.0e-300; variable
45 if (n< -50000) return tiny*x; /*underflow*/ in scalbn()
56 return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
Ds_scalbnl.c40 tiny = 0x1p-16000L; variable
53 if (n< -50000) return tiny*x; /*underflow*/ in scalbnl()
64 return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
De_pow.c76 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()
De_sqrtf.c23 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()
Ds_erff.c23 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()
De_powf.c34 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()
Ds_tanhf.c22 static const volatile float tiny = 1.0e-30; variable
54 z = one - tiny; /* raise inexact flag */ in tanhf()
Ds_tanh.c45 static const volatile double tiny = 1.0e-300; variable
77 z = one - tiny; /* raise inexact flag */ in tanh()
Ds_erf.c115 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()
De_sqrt.c92 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()
Ds_expm1f.c26 tiny = 1.0e-30, variable
62 if(x+tiny<(float)0.0) /* raise inexact */ in expm1f()
63 return tiny-one; /* return -1 */ in expm1f()
Ds_expm1.c118 tiny = 1.0e-300, variable
156 if(x+tiny<0.0) /* raise inexact */ in expm1()
157 return tiny-one; /* return -1 */ in expm1()
De_coshl.c40 static const volatile long double huge = 0x1p10000L, tiny = 0x1p-10000L; variable
105 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */ in coshl()
Ds_tanhl.c41 static const volatile double tiny = 1.0e-300; variable
169 z = one - tiny; /* raise inexact flag */ in tanhl()
Dcatrigl.c56 #define raise_inexact() do { volatile float junk __unused = 1 + tiny; } while(0)
94 tiny = 0x1p-100; variable
Dcatrig.c42 #define raise_inexact() do { volatile float junk __unused = 1 + tiny; } while(0)
63 tiny = 0x1p-100; variable
/bionic/libm/upstream-freebsd/lib/msun/ld128/
De_powl.c92 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()
Ds_erfl.c28 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()
Ds_expl.c48 tiny = 0x1p-10000L; variable
83 RETURNP(tiny * tiny); in expl()
235 RETURN2P(tiny, -1); /* good for x < -114ln2 - eps */ in expm1l()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dldexp.c85 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/
Db_tgamma.c124 static const double zero = 0., one = 1.0, tiny = 1e-300; variable
143 u.a = one - tiny; /* raise inexact */
296 return ((double)sgn*tiny*tiny);

12