Home | History | Annotate | Download | only in src

Lines Matching refs:bexp

265 // Convert a 64-bitb fraction * 10^exp to a 64-bit fraction * 2^bexp.
268 // bexp: base-2 exponent (output parameter)
269 static void _Stl_tenscale(uint64& p, int exp, int& bexp) {
270 bexp = 0;
309 bexp += _Stl_twoexp[hi] - norm;
316 bexp += _Stl_twoexp[lo] - norm;
347 int bexp; /* binary exponent */
368 bexp = 64; /* convert from 64b int to fraction */
382 bexp -= 64 - nzero;
390 bexp += sexp;
392 if (bexp <= -1022) { /* HI denorm or underflow */
393 bexp += 1022;
394 if (bexp < -53) { /* guaranteed underflow */
398 int lead0 = 12 - bexp; /* 12 sign and exponent bits */
446 ++bexp;
464 if (bexp > limits::max_exponent) { /* overflow */
469 _Stl_set_exponent(value, bexp + 1022); /* add bias */
503 int bexp = 64; /* convert from 64b int to fraction */
518 bexp -= nzero;
527 bexp += sexp;
529 if ( bexp >= limits::min_exponent ) { /* not zero or denorm */
550 ++bexp;
571 if (bexp > limits::max_exponent) { /* overflow */
582 v.ieee.exponent = bexp + BIAS - 1;
588 bexp += BIAS - 1;
589 if (bexp < -limits::digits) { /* guaranteed underflow */
598 int lead0 = M - bexp; /* M = 12 sign and exponent bits */