]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_apfloat/ppc.rs
Various minor/cosmetic improvements to code
[rust.git] / src / librustc_apfloat / ppc.rs
index dec88eb62cc60ef94eecf6a5517544c35951dd08..aaf6b29a99e8cb23b4c6485b18423bc1607be7c0 100644 (file)
@@ -20,7 +20,7 @@
 pub struct DoubleFloat<F>(F, F);
 pub type DoubleDouble = DoubleFloat<ieee::Double>;
 
-// These are legacy semantics for the Fallback, inaccrurate implementation of
+// These are legacy semantics for the Fallback, inaccurate implementation of
 // IBM double-double, if the accurate DoubleDouble doesn't handle the
 // operation. It's equivalent to having an IEEE number with consecutive 106
 // bits of mantissa and 11 bits of exponent.
@@ -288,7 +288,7 @@ fn mul_r(mut self, rhs: Self, round: Round) -> StatusAnd<Self> {
         //   \   /
         //   Normal
         //
-        // e.g. NaN * NaN = NaN
+        // e.g., NaN * NaN = NaN
         //      Zero * Inf = NaN
         //      Normal * Zero = Zero
         //      Normal * Inf = Inf