diff options
| author | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:16:18 +0200 |
|---|---|---|
| committer | Bastien Orivel <eijebong@bananium.fr> | 2017-08-11 00:16:18 +0200 |
| commit | 47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de (patch) | |
| tree | d322ab0b4256ce1b79dc63e2fab5e70a774c93c6 /src/libcore/num | |
| parent | 2ac5f7d249e29ee48737359e0e6dd9e59701a568 (diff) | |
| download | rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.tar.gz rust-47cb3c5bc28e1bb2ac2d2efb7796ceb17b4ab7de.zip | |
Fix some typos
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/dec2flt/algorithm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/dec2flt/algorithm.rs b/src/libcore/num/dec2flt/algorithm.rs index 42bc46c0c68..ccf3950c2ba 100644 --- a/src/libcore/num/dec2flt/algorithm.rs +++ b/src/libcore/num/dec2flt/algorithm.rs @@ -336,7 +336,7 @@ pub fn algorithm_m<T: RawFloat>(f: &Big, e: i16) -> T { round_by_remainder(v, rem, q, z) } -/// Skip over most AlgorithmM iterations by checking the bit length. +/// Skip over most Algorithm M iterations by checking the bit length. fn quick_start<T: RawFloat>(u: &mut Big, v: &mut Big, k: &mut i16) { // The bit length is an estimate of the base two logarithm, and log(u / v) = log(u) - log(v). // The estimate is off by at most 1, but always an under-estimate, so the error on log(u) |
