Lines Matching refs:fraction
755 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask)
758 const bool is_zero = exponent == 0 && fraction == 0;
772 while ((fraction & HF::fraction_top_bit) == 0) {
773 fraction = static_cast<uint_type>(fraction << 1);
778 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1
779 fraction &= HF::fraction_represent_mask;
785 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) {
787 fraction = static_cast<uint_type>(fraction >> 4);
799 << std::setfill('0') << std::hex << fraction;
963 uint_type fraction = 0;
992 fraction = static_cast<uint_type>(
993 fraction |
1024 fraction = static_cast<uint_type>(
1025 fraction |
1066 bool is_zero = is_denorm && (fraction == 0);
1068 fraction = static_cast<uint_type>(fraction << 1);
1075 fraction = static_cast<uint_type>(fraction >> 1);
1076 fraction |= static_cast<uint_type>(1) << HF::top_bit_left_shift;
1079 fraction = (fraction >> HF::fraction_right_shift) & HF::fraction_encode_mask;
1086 fraction = static_cast<uint_type>(fraction >> 1);
1089 fraction &= HF::fraction_encode_mask;
1090 if (fraction == 0) {
1100 fraction = 0;
1105 output_bits |= fraction;