Lines Matching refs:significand
282 // immediately to the left of the significand.
333 // Returns just the significand bits from the value.
359 uint_type significand = getSignificandBits();
361 significand = static_cast<uint_type>(significand << 1);
363 significand &= fraction_encode_mask;
364 return significand;
371 // Note this assumes EVERY significand is normalized, and has an implicit
375 // since subnormals do not have an implicit leading 1 in the significand.
376 // The significand is also expected to be in the
383 bool negative, int_type exponent, uint_type significand,
385 bool significand_is_zero = significand == 0;
389 // the significand is not zero.
391 significand |= first_exponent_bit;
392 significand = static_cast<uint_type>(significand >> 1);
396 significand = static_cast<uint_type>(significand >> 1);
401 if (significand == 0 && !significand_is_zero && round_denorm_up) {
402 significand = static_cast<uint_type>(0x1);
416 significand = static_cast<uint_type>(significand & fraction_encode_mask);
417 new_value = static_cast<uint_type>(new_value | (exponent | significand));
421 // Increments the significand of this number by the given amount.
422 // If this would spill the significand into the implicit bit,
423 // carry is set to true and the significand is shifted to fit into
426 // for a valid significand.
427 static uint_type incrementSignificand(uint_type significand,
429 significand = static_cast<uint_type>(significand + to_increment);
431 if (significand & first_exponent_bit) {
435 significand = static_cast<uint_type>(significand & ~first_exponent_bit);
436 significand = static_cast<uint_type>(significand >> 1);
438 return significand;
464 // Returns the significand, rounded to fit in a significand in
467 // of the returned significand.
492 uint_type significand = getNormalizedSignificand();
495 out_val = static_cast<other_uint_type>(significand);
503 if ((significand & throwaway_mask) == 0) {
505 negatable_right_shift(num_throwaway_bits, significand));
509 // We actually have to narrow the significand here, so we have to follow the
522 if ((first_rounded_bit & significand) == 0) {
525 if (((significand & throwaway_mask) & ~first_rounded_bit) != 0) {
532 if ((significand & last_significant_bit) != 0) {
543 significand, last_significant_bit, carry_bit)));
546 negatable_right_shift(num_throwaway_bits, significand));
566 uint_type significand = getSignificandBits();
579 if (check_bit & significand) break;
584 (getBits() & exponent_mask) == exponent_mask && significand != 0;
588 (significand == 0 && (getBits() & exponent_mask) == exponent_mask));
602 static_cast<int_type>(num_fraction_bits), significand));