/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | k_expf.c | 47 __frexp_expf(float x, int *expt) in __frexp_expf() argument 54 *expt = (hx >> 23) - (0x7f + 127) + k; in __frexp_expf() 60 __ldexp_expf(float x, int expt) in __ldexp_expf() argument 66 expt += ex_expt; in __ldexp_expf() 67 SET_FLOAT_WORD(scale, (0x7f + expt) << 23); in __ldexp_expf() 72 __ldexp_cexpf(float complex z, int expt) in __ldexp_cexpf() argument 80 expt += ex_expt; in __ldexp_cexpf() 82 half_expt = expt / 2; in __ldexp_cexpf() 84 half_expt = expt - half_expt; in __ldexp_cexpf()
|
D | k_exp.c | 48 __frexp_exp(double x, int *expt) in __frexp_exp() argument 61 *expt = (hx >> 20) - (0x3ff + 1023) + k; in __frexp_exp() 77 __ldexp_exp(double x, int expt) in __ldexp_exp() argument 83 expt += ex_expt; in __ldexp_exp() 84 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0); in __ldexp_exp() 89 __ldexp_cexp(double complex z, int expt) in __ldexp_cexp() argument 97 expt += ex_expt; in __ldexp_cexp() 103 half_expt = expt / 2; in __ldexp_cexp() 105 half_expt = expt - half_expt; in __ldexp_cexp()
|
D | s_atanl.c | 38 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()
|
D | e_asinl.c | 38 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()
|
D | e_acosl.c | 48 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/ |
D | vfwprintf.cpp | 97 int expt; /* integer value of exponent */ in FUNCTION_NAME() local 357 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 364 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 371 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME() 394 dtoaresult = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 401 dtoaresult = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 406 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME() 417 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME() 430 if (expt > -4 && expt <= prec) { in FUNCTION_NAME() 434 prec -= expt; in FUNCTION_NAME() [all …]
|
D | vfprintf.cpp | 94 int expt; /* integer value of exponent */ in FUNCTION_NAME() local 365 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 372 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 379 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME() 402 dtoaresult = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 409 dtoaresult = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 414 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME() 425 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME() 438 if (expt > -4 && expt <= prec) { in FUNCTION_NAME() 442 prec -= expt; in FUNCTION_NAME() [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | k_expl.h | 301 __ldexp_cexpl(long double complex z, int expt) in __ldexp_cexpl() argument 312 expt += k - 16382; in __ldexp_cexpl() 315 half_expt = expt / 2; in __ldexp_cexpl() 318 SET_LDBL_EXPSIGN(scale2, BIAS + expt - half_expt); in __ldexp_cexpl()
|