Home
last modified time | relevance | path

Searched refs:huge (Results 1 – 25 of 83) sorted by relevance

1234

/dragonfly/contrib/openbsd_libm/src/
H A De_pow.c71 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 Ds_scalbnf.c22 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 Ds_scalbnl.c37 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 De_powf.c19 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 Ds_trunc.c27 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 Ds_floor.c27 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 Ds_ceil.c27 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 Ds_expm1.c115 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 Ds_expm1f.c19 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 De_expf.c19 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 De_exp.c84 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 Ds_truncf.c25 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 Ds_floorf.c28 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 Ds_ceilf.c19 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 De_coshf.c19 static const volatile float huge = 1.0e30; variable
59 return huge*huge; in coshf()
H A De_cosh.c39 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
82 return huge*huge; in cosh()
H A Ds_exp2f.c37 huge = 0x1p100f, variable
110 return (huge * huge); /* overflow */ in exp2f()
H A Ds_exp2.c37 huge = 0x1p1000, variable
357 return (huge * huge); /* overflow */ in exp2()
/dragonfly/lib/libc/gen/
H A Dldexp.c82 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 Ds_truncl.c38 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 Ds_floorl.c26 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 Ds_ceill.c26 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 De_coshl.c37 static const long double one = 1.0, half=0.5, huge = 1.0e4900L; variable
81 return huge*huge; in coshl()
H A Ds_expm1l.c87 static const long double huge = 0x1p10000L; variable
97 return (huge*huge); /* overflow */ in expm1l()
H A De_powl.c194 static const long double huge = 0x1p10000L; variable
416 return (huge * huge); /* overflow */ in powl()
576 return (huge * huge); /* overflow */ in powil()

1234