diff --git a/include/boost/multiprecision/cpp_bin_float.hpp b/include/boost/multiprecision/cpp_bin_float.hpp index 170de2b4..97b7174b 100644 --- a/include/boost/multiprecision/cpp_bin_float.hpp +++ b/include/boost/multiprecision/cpp_bin_float.hpp @@ -829,7 +829,8 @@ inline void eval_divide(cpp_bin_float::bit_count" cpp_bin_float::bit_count, we only need to determine whether + // From this, assuming q has cpp_bin_float::bit_count + // bits we only need to determine whether // r/v is less than, equal to, or greater than 0.5 to determine rounding - // this we can do with a shift and comparison. // @@ -844,13 +845,16 @@ inline void eval_divide(cpp_bin_float::bit_count); eval_qr(t, t2, q, r); // - // We now have either "cpp_bin_float::bit_count" or "cpp_bin_float::bit_count+1" significant cpp_bin_float::bit_count in q. + // We now have either "cpp_bin_float::bit_count" + // or "cpp_bin_float::bit_count+1" significant + // bits in q. // static const unsigned limb_bits = sizeof(limb_type) * CHAR_BIT; if(eval_bit_test(q, cpp_bin_float::bit_count)) { // - // OK we have cpp_bin_float::bit_count+1 cpp_bin_float::bit_count, so we already have rounding info, + // OK we have cpp_bin_float::bit_count+1 bits, + // so we already have rounding info, // we just need to changes things if the last bit is 1 and the // remainder is non-zero (ie we do not have a tie). // @@ -863,7 +867,7 @@ inline void eval_divide(cpp_bin_float::bit_count" cpp_bin_float::bit_count in q. + // We have exactly "cpp_bin_float::bit_count" bits in q. // Get rounding info, which we can get by comparing 2r with v. // We want to call copy_and_round to handle rounding and general cleanup, // so we'll left shift q and add some fake digits on the end to represent