/dragonfly/contrib/openbsd_libm/src/ |
H A D | e_pow.c | 71 huge = 1.0e300, variable 187 if(ix<=0x3fefffff) return (hy<0)? huge*huge:tiny*tiny; in pow() 188 if(ix>=0x3ff00000) return (hy>0)? huge*huge:tiny*tiny; in pow() 191 if(ix<0x3fefffff) return (hy<0)? s*huge*huge:s*tiny*tiny; in pow() 192 if(ix>0x3ff00000) return (hy>0)? s*huge*huge:s*tiny*tiny; in pow() 261 return s*huge*huge; /* overflow */ in pow() 263 if(p_l+ovt>z-p_h) return s*huge*huge; /* overflow */ in pow()
|
H A D | s_scalbnf.c | 22 huge = 1.0e+30, variable 40 if (k > 0xfe) return huge*copysignf(huge,x); /* overflow */ in scalbnf() 45 return huge*copysignf(huge,x); /*overflow*/ in scalbnf()
|
H A D | s_scalbnl.c | 37 huge = 0x1p16000L, variable 65 if (k >= 0x7fff) return huge*copysignl(huge,x); /* overflow */ in scalbnl() 70 return huge*copysign(huge,x); /*overflow*/ in scalbnl()
|
H A D | e_powf.c | 19 static const volatile float huge = 1.0e+30, tiny = 1.0e-30; variable 128 if(ix<0x3f7ffff8) return (hy<0)? huge*huge:tiny*tiny; in powf() 129 if(ix>0x3f800007) return (hy>0)? huge*huge:tiny*tiny; in powf() 205 return s*huge*huge; /* overflow */ in powf() 207 if(p_l+ovt>z-p_h) return s*huge*huge; /* overflow */ in powf()
|
H A D | s_trunc.c | 27 static const double huge = 1.0e300; variable 38 if(huge+x>0.0) {/* |x|<1, so return 0*sign(x) */ in trunc() 45 if(huge+x>0.0) { /* raise inexact flag */ in trunc() 55 if(huge+x>0.0) /* raise inexact flag */ in trunc()
|
H A D | s_floor.c | 27 static const double huge = 1.0e300; variable 38 if(huge+x>0.0) {/* return 0*sign(x) if |x|<1 */ in floor() 46 if(huge+x>0.0) { /* raise inexact flag */ in floor() 57 if(huge+x>0.0) { /* raise inexact flag */ in floor()
|
H A D | s_ceil.c | 27 static const double huge = 1.0e300; variable 38 if(huge+x>0.0) {/* return 0*sign(x) if |x|<1 */ in ceil() 45 if(huge+x>0.0) { /* raise inexact flag */ in ceil() 56 if(huge+x>0.0) { /* raise inexact flag */ in ceil()
|
H A D | s_expm1.c | 115 huge = 1.0e+300, variable 150 if(x > o_threshold) return huge*huge; /* overflow */ in expm1() 175 t = huge+x; /* return x with inexact flags when x!=0 */ in expm1() 176 return x - (t-(huge+x)); in expm1()
|
H A D | s_expm1f.c | 19 static const volatile float huge = 1.0e+30, tiny = 1.0e-30; variable 53 if(x > o_threshold) return huge*huge; /* overflow */ in expm1f() 78 t = huge+x; /* return x with inexact flags when x!=0 */ in expm1f() 79 return x - (t-(huge+x)); in expm1f()
|
H A D | e_expf.c | 19 static const volatile float huge = 1.0e+30; variable 56 if(x > o_threshold) return huge*huge; /* overflow */ in expf() 73 if(huge+x>one) return one+x;/* trigger inexact */ in expf()
|
H A D | e_exp.c | 84 huge = 1.0e+300, variable 120 if(x > o_threshold) return huge*huge; /* overflow */ in exp() 137 if(huge+x>one) return one+x;/* trigger inexact */ in exp()
|
H A D | s_truncf.c | 25 static const float huge = 1.0e30F; variable 36 if(huge+x>0.0F) /* |x|<1, so return 0*sign(x) */ in truncf() 41 if(huge+x>0.0F) /* raise inexact flag */ in truncf()
|
H A D | s_floorf.c | 28 static const float huge = 1.0e30; variable 39 if(huge+x>(float)0.0) {/* return 0*sign(x) if |x|<1 */ in floorf() 47 if(huge+x>(float)0.0) { /* raise inexact flag */ in floorf()
|
H A D | s_ceilf.c | 19 static const float huge = 1.0e30; variable 31 if(huge+x>(float)0.0) {/* return 0*sign(x) if |x|<1 */ in ceilf() 38 if(huge+x>(float)0.0) { /* raise inexact flag */ in ceilf()
|
H A D | e_coshf.c | 19 static const volatile float huge = 1.0e30; variable 59 return huge*huge; in coshf()
|
H A D | e_cosh.c | 39 static const double one = 1.0, half=0.5, huge = 1.0e300; variable 82 return huge*huge; in cosh()
|
H A D | s_exp2f.c | 37 huge = 0x1p100f, variable 110 return (huge * huge); /* overflow */ in exp2f()
|
H A D | s_exp2.c | 37 huge = 0x1p1000, variable 357 return (huge * huge); /* overflow */ in exp2()
|
/dragonfly/lib/libc/gen/ |
H A D | ldexp.c | 82 huge = 1.0e+300, variable 110 if (k > 0x7fe) return huge*_copysign(huge,x); /* overflow */ in ldexp() 115 return huge*_copysign(huge,x); /*overflow*/ in ldexp()
|
/dragonfly/contrib/openbsd_libm/src/ld80/ |
H A D | s_truncl.c | 38 static const long double huge = 1.0e300; variable 52 if (huge + x > 0.0) in truncl() 58 if (huge + x > 0.0) { /* raise inexact flag */ in truncl() 67 if (huge + x > 0.0) /* raise inexact flag */ in truncl()
|
H A D | s_floorl.c | 26 static const long double huge = 1.0e4930L; variable 38 if(huge+x>0.0) { in floorl() 47 if(huge+x>0.0) { /* raise inexact flag */ in floorl() 66 if(huge+x>0.0) { /* raise inexact flag */ in floorl()
|
H A D | s_ceill.c | 26 static const long double huge = 1.0e4930L; variable 38 if(huge+x>0.0) {/* return 0*sign(x) if |x|<1 */ in ceill() 45 if(huge+x>0.0) { /* raise inexact flag */ in ceill() 64 if(huge+x>0.0) { /* raise inexact flag */ in ceill()
|
H A D | e_coshl.c | 37 static const long double one = 1.0, half=0.5, huge = 1.0e4900L; variable 81 return huge*huge; in coshl()
|
H A D | s_expm1l.c | 87 static const long double huge = 0x1p10000L; variable 97 return (huge*huge); /* overflow */ in expm1l()
|
H A D | e_powl.c | 194 static const long double huge = 0x1p10000L; variable 416 return (huge * huge); /* overflow */ in powl() 576 return (huge * huge); /* overflow */ in powil()
|