Home
last modified time | relevance | path

Searched refs:tiny (Results 1 – 19 of 19) 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_tanh.c43 static const double one = 1.0, two = 2.0, tiny = 1.0e-300, huge = 1.0e300; variable
74 z = one - tiny; /* raise inexact flag */ in tanh()
Ds_tanhf.c22 static const float one=1.0, two=2.0, tiny = 1.0e-30, huge = 1.0e30; variable
52 z = one - tiny; /* raise inexact flag */ in tanhf()
Ds_erff.c23 tiny = 1e-30, variable
112 if(hx>=0) return one-tiny; else return tiny-one; in erff()
172 if(hx<0&&ix>=0x40a00000) return two-tiny;/* x < -5 */ in erfcf()
180 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()
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()
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_erf.c115 tiny = 1e-300, variable
220 if(hx>=0) return one-tiny; else return tiny-one; in erf()
287 if(hx<0&&ix>=0x40180000) return two-tiny;/* x < -6 */ in erfc()
299 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()
/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_expl.c50 static volatile const long double tiny = 0x1p-10000L; variable
250 return (tiny * tiny); in expl()
398 return (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);