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:
Dylan DPC
2022-09-22 18:25:57 +05:30
committed by GitHub
+1 -1
View File
@@ -6,7 +6,7 @@
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
/// a float to an extended representation with a binary float. This