/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | e_atan2f.c | 23 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 D | e_atan2.c | 51 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 D | e_atan2l.c | 31 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 D | s_scalbnf.c | 29 tiny = 1.0e-30; variable 42 if (n< -50000) return tiny*x; /*underflow*/ 52 else return tiny*copysignf(tiny,x); /*underflow*/
|
H A D | s_scalbn.c | 34 tiny = 1.0e-300; variable 47 if (n< -50000) return tiny*x; /*underflow*/ 57 else return tiny*copysign(tiny,x); /*underflow*/
|
H A D | s_scalbnl.c | 42 tiny = 0x1p-16000L; variable 55 if (n< -50000) return tiny*x; /*underflow*/ 65 else return tiny*copysign(tiny,x); /*underflow*/
|
H A D | s_tanh.c | 43 static const double one = 1.0, two = 2.0, tiny = 1.0e-300, huge = 1.0e300; variable 63 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */ 74 z = one - tiny; /* raise inexact flag */
|
H A D | s_tanhf.c | 22 static const float one=1.0, two=2.0, tiny = 1.0e-30, huge = 1.0e30; variable 41 if(huge+x>one) return x; /* tanh(tiny) = tiny with inexact */ 52 z = one - tiny; /* raise inexact flag */
|
H A D | e_sqrtf.c | 23 static const float one = 1.0, tiny=1.0e-30; variable 76 z = one-tiny; /* trigger inexact flag */ 78 z = one+tiny;
|
H A D | e_pow.c | 72 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 D | s_erff.c | 23 tiny = 1e-30, variable 112 if(hx>=0) return one-tiny; else return tiny-one; 172 if(hx<0&&ix>=0x40a00000) return two-tiny;/* x < -5 */ 180 if(hx>0) return tiny*tiny; else return two-tiny;
|
H A D | e_powf.c | 31 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 D | e_sqrt.c | 74 * 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 D | s_expm1f.c | 26 tiny = 1.0e-30, variable 62 if(x+tiny<(float)0.0) /* raise inexact */ 63 return tiny-one; /* return -1 */
|
H A D | s_erf.c | 75 * = 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 tiny = 1e-300, variable 220 if(hx>=0) return one-tiny; else return tiny-one; 287 if(hx<0&&ix>=0x40180000) return two-tiny;/* [all...] |
H A D | s_expm1.c | 118 tiny = 1.0e-300, variable 156 if(x+tiny<0.0) /* raise inexact */ 157 return tiny-one; /* return -1 */
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
H A D | ldexp.c | 85 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 D | b_tgamma.c | 126 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 D | s_expl.c | 50 static volatile const long double tiny = 0x1p-10000L; variable 250 return (tiny * tiny); 398 return (tiny - 1); /* good for x < -114ln2 - eps */
|