Home
last modified time | relevance | path

Searched refs:expt (Results 1 – 6 of 6) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Dk_expf.c45 __frexp_expf(float x, int *expt) in __frexp_expf() argument
52 *expt = (hx >> 23) - (0x7f + 127) + k; in __frexp_expf()
58 __ldexp_expf(float x, int expt) in __ldexp_expf() argument
64 expt += ex_expt; in __ldexp_expf()
65 SET_FLOAT_WORD(scale, (0x7f + expt) << 23); in __ldexp_expf()
70 __ldexp_cexpf(float complex z, int expt) in __ldexp_cexpf() argument
78 expt += ex_expt; in __ldexp_cexpf()
80 half_expt = expt / 2; in __ldexp_cexpf()
82 half_expt = expt - half_expt; in __ldexp_cexpf()
Dk_exp.c46 __frexp_exp(double x, int *expt) in __frexp_exp() argument
59 *expt = (hx >> 20) - (0x3ff + 1023) + k; in __frexp_exp()
75 __ldexp_exp(double x, int expt) in __ldexp_exp() argument
81 expt += ex_expt; in __ldexp_exp()
82 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0); in __ldexp_exp()
87 __ldexp_cexp(double complex z, int expt) in __ldexp_cexp() argument
95 expt += ex_expt; in __ldexp_cexp()
101 half_expt = expt / 2; in __ldexp_cexp()
103 half_expt = expt - half_expt; in __ldexp_cexp()
Ds_atanl.c38 int16_t expsign, expt; in atanl() local
43 expt = expsign & 0x7fff; in atanl()
44 if(expt >= ATAN_CONST) { /* if |x| is large, atan(x)~=pi/2 */ in atanl()
45 if(expt == BIAS + LDBL_MAX_EXP && in atanl()
53 expman = (expt << 8) | ((u.bits.manh >> (MANH_SIZE - 9)) & 0xff); in atanl()
55 if (expt < ATAN_LINEAR) { /* if |x| is small, atanl(x)~=x */ in atanl()
De_asinl.c38 int16_t expsign, expt; in asinl() local
41 expt = expsign & 0x7fff; in asinl()
42 if(expt >= BIAS) { /* |x|>= 1 */ in asinl()
43 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) in asinl()
47 } else if (expt<BIAS-1) { /* |x|<0.5 */ in asinl()
48 if(expt<ASIN_LINEAR) { /* if |x| is small, asinl(x)=x */ in asinl()
De_acosl.c48 int16_t expsign, expt; in acosl() local
51 expt = expsign & 0x7fff; in acosl()
52 if(expt >= BIAS) { /* |x| >= 1 */ in acosl()
53 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) { in acosl()
59 if(expt<BIAS-1) { /* |x| < 0.5 */ in acosl()
60 if(expt<ACOS_CONST) return pio2_hi+pio2_lo;/*x tiny: acosl=pi/2*/ in acosl()
/bionic/libc/stdio/
Dvfprintf.c189 int expt; /* integer value of exponent */ in __vfprintf() local
527 &expt, ch, &ndig); in __vfprintf()
530 if (expt <= -4 || expt > prec) in __vfprintf()
536 --expt; in __vfprintf()
537 expsize = exponent(expstr, expt, ch); in __vfprintf()
542 if (expt > 0) { in __vfprintf()
543 size = expt; in __vfprintf()
548 } else if (expt >= ndig) { /* fixed g fmt */ in __vfprintf()
549 size = expt; in __vfprintf()
553 size = ndig + (expt > 0 ? in __vfprintf()
[all …]