/bionic/libm/upstream-freebsd/lib/msun/src/ |
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 | 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 | 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 | 74 int expt; /* integer value of exponent */ in FUNCTION_NAME() local 334 dtoaresult = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 341 dtoaresult = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 348 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME() 375 dtoaresult = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 382 dtoaresult = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 387 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME() 395 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME() 407 if (expt > -4 && expt <= prec) { in FUNCTION_NAME() 411 prec -= expt; in FUNCTION_NAME() [all …]
|
D | vfprintf.cpp | 74 int expt; /* integer value of exponent */ in FUNCTION_NAME() local 356 dtoaresult = cp = __hldtoa(fparg.ldbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 363 dtoaresult = cp = __hdtoa(fparg.dbl, xdigs, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 370 if (expt == INT_MAX) ox[1] = '\0'; in FUNCTION_NAME() 393 dtoaresult = cp = __ldtoa(&fparg.ldbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 400 dtoaresult = cp = __dtoa(fparg.dbl, expchar ? 2 : 3, prec, &expt, &signflag, &dtoaend); in FUNCTION_NAME() 405 if (expt == 9999) expt = INT_MAX; in FUNCTION_NAME() 409 if (expt == INT_MAX) { /* inf or nan */ in FUNCTION_NAME() 422 if (expt > -4 && expt <= prec) { in FUNCTION_NAME() 426 prec -= expt; in FUNCTION_NAME() [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | k_expl.h | 300 __ldexp_cexpl(long double complex z, int expt) in __ldexp_cexpl() argument 311 expt += k - 16382; in __ldexp_cexpl() 314 half_expt = expt / 2; in __ldexp_cexpl() 317 SET_LDBL_EXPSIGN(scale1, BIAS + expt - half_expt); in __ldexp_cexpl()
|