Lines Matching refs:exp2
13884 int32_t exp2,
13889 // Let f be the floating point number represented by exp2 and mantissa (and
13890 // also the number in h): the number (mantissa * (2 ** (exp2 - 52))).
13894 ((exp2 < 53) && (h->decimal_point >= ((int32_t)(h->num_digits))))) {
13898 // The smallest normal f has an exp2 of -1022 and a mantissa of (1 << 52).
13899 // Subnormal numbers have the same exp2 but a smaller mantissa.
13905 // ((mantissa + 0) * (2 ** ( exp2 - 52)))
13908 // ((mantissa - 1) * (2 ** ( exp2 - 52)))
13909 // unless (mantissa - 1) drops the (1 << 52) bit and exp2 is not the
13915 int32_t l_exp2 = exp2;
13917 if ((exp2 > min_incl_normal_exp2) && (mantissa <= min_incl_normal_mantissa)) {
13918 l_exp2 = exp2 - 1;
13928 // ((mantissa + 0) * (2 ** (exp2 - 52)))
13931 // ((mantissa + 1) * (2 ** (exp2 - 52)))
13934 // (((2 * mantissa) + 1) * (2 ** (exp2 - 53)))
13938 wuffs_base__private_implementation__high_prec_dec__lshift(&upper, exp2 - 53);
14394 int32_t exp2 = 0;
14407 exp2 += (int32_t)shift;
14429 exp2 -= (int32_t)shift;
14433 exp2--;
14436 while ((f64_bias + 1) > exp2) {
14437 uint32_t n = (uint32_t)((f64_bias + 1) - exp2);
14442 exp2 += (int32_t)n;
14446 if ((exp2 - f64_bias) >= 0x07FF) { // (1 << 11) - 1.
14458 exp2++;
14459 if ((exp2 - f64_bias) >= 0x07FF) { // (1 << 11) - 1.
14466 exp2 = f64_bias;
14471 (uint64_t)((exp2 - f64_bias) & 0x07FF); // (1 << 11) - 1.
14939 int32_t exp2 = ((int32_t)(bits >> 52)) & 0x7FF;
14944 if (exp2 == 0x7FF) {
14949 } else if (exp2 == 0) {
14950 exp2 = -1022;
14952 exp2 -= 1023;
14961 // Convert from the (neg, exp2, man) tuple to an HPD.
14966 &h, exp2 - 52); // 52 mantissa bits.
14975 &h, exp2, man);
14988 &h, exp2, man);
15004 &h, exp2, man);