Lines Matching refs:exponent

147 extern FLOAT MPN2FLOAT (mp_srcptr mpn, int exponent, int negative);
213 round_and_return (mp_limb_t *retval, intmax_t exponent, int negative, in round_and_return() argument
218 if (exponent < MIN_EXP - 1) in round_and_return()
220 if (exponent < MIN_EXP - 1 - MANT_DIG) in round_and_return()
223 mp_size_t shift = MIN_EXP - 1 - exponent; in round_and_return()
301 exponent = DENORM_EXP; in round_and_return()
313 if (exponent >= MAX_EXP) in round_and_return()
333 ++exponent; in round_and_return()
338 else if (exponent == DENORM_EXP in round_and_return()
343 exponent = MIN_EXP - 1; in round_and_return()
346 if (exponent >= MAX_EXP) in round_and_return()
355 return MPN2FLOAT (retval, exponent, negative); in round_and_return()
366 intmax_t *exponent in str_to_mpn() argument
431 if (*exponent > 0 && *exponent <= MAX_DIG_PER_LIMB - cnt) in str_to_mpn()
433 low *= _tens_in_limb[*exponent]; in str_to_mpn()
434 start = _tens_in_limb[cnt + *exponent]; in str_to_mpn()
435 *exponent = 0; in str_to_mpn()
511 intmax_t exponent; /* Exponent of the number. */ in ____STRTOF_INTERNAL() local
601 exponent = 0; in ____STRTOF_INTERNAL()
968 if (__builtin_expect ((exponent > exp_limit / 10 in ____STRTOF_INTERNAL()
969 || (exponent == exp_limit / 10 in ____STRTOF_INTERNAL()
998 exponent *= 10; in ____STRTOF_INTERNAL()
999 exponent += c - L_('0'); in ____STRTOF_INTERNAL()
1006 exponent = -exponent; in ____STRTOF_INTERNAL()
1023 if (dig_no == int_no && dig_no > 0 && exponent < 0) in ____STRTOF_INTERNAL()
1035 exponent += base == 16 ? 4 : 1; in ____STRTOF_INTERNAL()
1037 while (dig_no > 0 && exponent < 0); in ____STRTOF_INTERNAL()
1073 ? ((uintmax_t) exponent in ____STRTOF_INTERNAL()
1075 : ((uintmax_t) exponent - (uintmax_t) INTMAX_MIN))); in ____STRTOF_INTERNAL()
1076 exponent -= base == 16 ? 4 * (intmax_t) lead_zero : (intmax_t) lead_zero; in ____STRTOF_INTERNAL()
1118 assert (int_no <= (uintmax_t) (exponent < 0 in ____STRTOF_INTERNAL()
1120 : (INTMAX_MAX - exponent - bits + 1) / 4)); in ____STRTOF_INTERNAL()
1121 exponent += bits - 1 + ((intmax_t) int_no - 1) * 4; in ____STRTOF_INTERNAL()
1153 return round_and_return (retval, exponent, negative, val, in ____STRTOF_INTERNAL()
1165 return round_and_return (retval, exponent, negative, 0, 0, 0); in ____STRTOF_INTERNAL()
1173 intmax_t incr = (exponent < 0 in ____STRTOF_INTERNAL()
1174 ? MAX (-(intmax_t) int_no, exponent) in ____STRTOF_INTERNAL()
1175 : MIN ((intmax_t) dig_no - (intmax_t) int_no, exponent)); in ____STRTOF_INTERNAL()
1177 exponent -= incr; in ____STRTOF_INTERNAL()
1180 if (__glibc_unlikely (exponent > MAX_10_EXP + 1 - (intmax_t) int_no)) in ____STRTOF_INTERNAL()
1192 if (__glibc_unlikely (exponent < MIN_10_EXP - (DIG + 2))) in ____STRTOF_INTERNAL()
1198 startp = str_to_mpn (startp, int_no, num, &numsize, &exponent in ____STRTOF_INTERNAL()
1204 if (exponent > 0) in ____STRTOF_INTERNAL()
1214 if ((exponent & expbit) != 0) in ____STRTOF_INTERNAL()
1218 exponent ^= expbit; in ____STRTOF_INTERNAL()
1241 while (exponent != 0); in ____STRTOF_INTERNAL()
1358 && exponent <= 0 in ____STRTOF_INTERNAL()
1359 && exponent >= MIN_10_EXP - (DIG + 2)); in ____STRTOF_INTERNAL()
1369 assert (int_no > 0 && exponent == 0); in ____STRTOF_INTERNAL()
1378 int neg_exp_2 = ((1 - exponent) * 10) / 3 + 1; in ____STRTOF_INTERNAL()
1391 need_frac_digits += exponent; in ____STRTOF_INTERNAL()
1410 neg_exp = (intmax_t) dig_no - (intmax_t) int_no - exponent; in ____STRTOF_INTERNAL()
1449 (void) str_to_mpn (startp, dig_no - int_no, num, &numsize, &exponent in ____STRTOF_INTERNAL()
1485 exponent = bits; in ____STRTOF_INTERNAL()
1510 exponent -= cnt; \ in ____STRTOF_INTERNAL()
1542 return round_and_return (retval, exponent - 1, negative, in ____STRTOF_INTERNAL()
1568 exponent -= BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1635 return round_and_return (retval, exponent - 1, negative, in ____STRTOF_INTERNAL()
1660 exponent -= empty * BITS_PER_MP_LIMB; in ____STRTOF_INTERNAL()
1762 return round_and_return (retval, exponent - 1, negative, in ____STRTOF_INTERNAL()