Home
last modified time | relevance | path

Searched refs:expt (Results 1 – 7 of 7) 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_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()
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()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvfprintf.c308 int expt; /* integer value of exponent */ in __vfprintf() local
689 &expt, &signflag, &dtoaend); in __vfprintf()
698 &expt, &signflag, &dtoaend); in __vfprintf()
706 if (expt == INT_MAX) in __vfprintf()
735 &expt, &signflag, &dtoaend); in __vfprintf()
744 &expt, &signflag, &dtoaend); in __vfprintf()
749 if (expt == 9999) in __vfprintf()
750 expt = INT_MAX; in __vfprintf()
755 if (expt == INT_MAX) { /* inf or nan */ in __vfprintf()
768 if (expt > -4 && expt <= prec) { in __vfprintf()
[all …]
Dvfwprintf.c311 int expt; /* integer value of exponent */ in __vfwprintf() local
651 &expt, &signflag, &dtoaend); in __vfwprintf()
660 &expt, &signflag, &dtoaend); in __vfwprintf()
668 if (expt == INT_MAX) in __vfwprintf()
705 &expt, &signflag, &dtoaend); in __vfwprintf()
714 &expt, &signflag, &dtoaend); in __vfwprintf()
719 if (expt == 9999) in __vfwprintf()
720 expt = INT_MAX; in __vfwprintf()
733 if (expt == INT_MAX) { /* inf or nan */ in __vfwprintf()
745 if (expt > -4 && expt <= prec) { in __vfwprintf()
[all …]