Home
last modified time | relevance | path

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

/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.c29 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()
Ds_scalbn.c34 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()
Ds_scalbnl.c42 tiny = 0x1p-16000L; variable
55 if (n< -50000) return tiny*x; /*underflow*/ in scalbnl()
65 else return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
De_pow.c72 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()
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_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_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.c31 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()
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_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()
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
103 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */ in coshl()
Ds_tanhl.c41 static const volatile double tiny = 1.0e-300; variable
167 z = one - tiny; /* raise inexact flag */ in tanhl()
Dcatrig.c40 #define raise_inexact() do { volatile float junk = 1 + tiny; } while(0)
61 tiny = 0x1p-100; variable
Dcatrigf.c54 #define raise_inexact() do { volatile float junk = 1 + tiny; } while(0)
73 tiny = 0x1p-100; variable
/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/ld128/
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.c46 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/
Db_tgamma.c126 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);