Rollup merge of #102131 - orlp:patch-1, r=thomcc
Added which number is computed in compute_float. The original comment was very elaborate but ultimately did not mention at all what is being computed using parameters `w, q`, only referencing an external article for the algorithm.
This commit is contained in:
commit
33b7ff128f
@ -6,7 +6,7 @@
|
|||||||
LARGEST_POWER_OF_FIVE, POWER_OF_FIVE_128, SMALLEST_POWER_OF_FIVE,
|
LARGEST_POWER_OF_FIVE, POWER_OF_FIVE_128, SMALLEST_POWER_OF_FIVE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Compute a float using an extended-precision representation.
|
/// Compute w * 10^q using an extended-precision float representation.
|
||||||
///
|
///
|
||||||
/// Fast conversion of a the significant digits and decimal exponent
|
/// Fast conversion of a the significant digits and decimal exponent
|
||||||
/// a float to an extended representation with a binary float. This
|
/// a float to an extended representation with a binary float. This
|
||||||
|
Loading…
Reference in New Issue
Block a user