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

/bionic/libm/upstream-freebsd/lib/msun/src/
H A De_atan2f.c23 tiny = 1.0e-30; variable
53 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
54 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */
58 if(ix==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
64 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */
65 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */
66 case 2: return (float)3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/
67 case 3: return (float)-3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/
73 case 2: return pi+tiny ; /* ata
[all...]
H A De_atan2.c51 tiny = 1.0e-300; variable
82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */
87 if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
93 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */
94 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */
95 case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/
96 case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/
102 case 2: return pi+tiny ; /* ata
[all...]
H A De_atan2l.c31 tiny = 1.0e-300; variable
75 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
76 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */
81 return (expsigny<0)? -pio2_hi-tiny: pio2_hi+tiny;
87 case 0: return pio2_hi*0.5+tiny;/* atan(+INF,+INF) */
88 case 1: return -pio2_hi*0.5-tiny;/* atan(-INF,+INF) */
89 case 2: return 1.5*pio2_hi+tiny;/*atan(+INF,-INF)*/
90 case 3: return -1.5*pio2_hi-tiny;/*atan(-INF,-INF)*/
96 case 2: return pi+tiny ; /* ata
[all...]
H A Ds_scalbnf.c29 tiny = 1.0e-30; variable
42 if (n< -50000) return tiny*x; /*underflow*/
52 else return tiny*copysignf(tiny,x); /*underflow*/
H A Ds_scalbn.c34 tiny = 1.0e-300; variable
47 if (n< -50000) return tiny*x; /*underflow*/
57 else return tiny*copysign(tiny,x); /*underflow*/
H A Ds_scalbnl.c42 tiny = 0x1p-16000L; variable
55 if (n< -50000) return tiny*x; /*underflow*/
65 else return tiny*copysign(tiny,x); /*underflow*/
H A Ds_tanh.c45 static const volatile double tiny = 1.0e-300; variable
66 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */
77 z = one - tiny; /* raise inexact flag */
H A Ds_tanhf.c22 static const volatile float tiny = 1.0e-30; variable
43 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */
54 z = one - tiny; /* raise inexact flag */
H A De_sqrtf.c23 static const float one = 1.0, tiny=1.0e-30; variable
76 z = one-tiny; /* trigger inexact flag */
78 z = one+tiny;
H A De_pow.c72 tiny = 1.0e-300, variable
191 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny;
192 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny;
195 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny;
196 if(ix>0x3ff00000) return (hy>0)? s*huge*huge:s*tiny*tiny;
197 /* now |1-x| is tiny <
[all...]
H A Ds_erff.c23 static const volatile float tiny = 1e-30; variable
111 if(hx>=0) return one-tiny; else return tiny-one;
171 if(hx<0&&ix>=0x40a00000) return two-tiny;/* x < -5 */
179 if(hx>0) return tiny*tiny; else return two-tiny;
H A De_powf.c31 tiny = 1.0e-30, variable
136 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
137 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny;
138 /* now |1-x| is tiny <= 2**-20, suffice to compute
215 return sn*tiny*tiny; /* underflow */
217 if(p_l<=z-p_h) return sn*tiny*tiny; /* underflo
[all...]
H A De_sqrt.c74 * huge + tiny is equal to huge, and whether huge - tiny is
75 * equal to huge for some floating point number "huge" and "tiny".
92 static const double one = 1.0, tiny=1.0e-300; variable
172 z = one-tiny; /* trigger inexact flag */
174 z = one+tiny;
H A Ds_expm1f.c26 tiny = 1.0e-30, variable
62 if(x+tiny<(float)0.0) /* raise inexact */
63 return tiny-one; /* return -1 */
H A Ds_erf.c75 * = 2.0 - tiny (if x <= -6)
77 * erf(x) = sign(x)*(1.0 - tiny)
100 * erf(x) = sign(x) *(1 - tiny) (raise inexact)
101 * erfc(x) = tiny*tiny (raise underflow) if x > 0
102 * = 2 - tiny if x<0
115 static const volatile double tiny= 1e-300; variable
227 if(hx>=0) return one-tiny; else return tiny-one;
294 if(hx<0&&ix>=0x40180000) return two-tiny;/*
[all...]
H A Ds_expm1.c118 tiny = 1.0e-300, variable
156 if(x+tiny<0.0) /* raise inexact */
157 return tiny-one; /* return -1 */
H A De_coshl.c40 static const volatile long double huge = 0x1p10000L, tiny = 0x1p-10000L; variable
103 RETURNI(1+tiny); /* cosh(tiny) = 1(+) with inexact */
H A Ds_tanhl.c41 static const volatile double tiny = 1.0e-300; variable
133 /* tanh(+-0) = +0; tanh(tiny) = tiny(-+) with inexact: */
167 z = one - tiny; /* raise inexact flag */
H A Dcatrig.c40 #define raise_inexact() do { volatile float junk = 1 + tiny; } while(0)
61 tiny = 0x1p-100; variable
H A 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/
H A Dldexp.c85 tiny = 1.0e-300; variable
108 if (n< -50000) return tiny*x; /*underflow*/
118 else return tiny*_copysign(tiny,x); /*underflow*/
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
H A 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);
/bionic/libm/upstream-freebsd/lib/msun/ld128/
H A Ds_expl.c46 tiny = 0x1p-10000L; variable
81 RETURNP(tiny * tiny);
230 RETURN2P(tiny, -1); /* good for x < -114ln2 - eps */
H A Ds_erfl.c28 static const volatile long double tiny = 0x1p-10000L; variable
232 if(x>=0) return (one-tiny); else return (tiny-one);
317 if(x < -9) return two-tiny; /* x < -9 */
327 if(x>0) return tiny*tiny; else return two-tiny;

Completed in 763 milliseconds