Fix inconsequential typo in math.remainder algorithm comments. (#14746)
authorMark Dickinson <dickinsm@gmail.com>
Sat, 13 Jul 2019 15:50:03 +0000 (16:50 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Jul 2019 15:50:03 +0000 (16:50 +0100)
Modules/mathmodule.c

index 92c40b3a9ff1f82e0d5cdb0638060f99d2604577..4c1dbbe15ecc2244fb197c167bc7c032a2e9a41d 100644 (file)
@@ -646,7 +646,7 @@ m_remainder(double x, double y)
            Warning: some subtlety here. What we *want* to know at this point is
            whether the remainder m is less than, equal to, or greater than half
            of absy. However, we can't do that comparison directly because we
-           can't be sure that 0.5*absy is representable (the mutiplication
+           can't be sure that 0.5*absy is representable (the multiplication
            might incur precision loss due to underflow). So instead we compare
            m with the complement c = absy - m: m < 0.5*absy if and only if m <
            c, and so on. The catch is that absy - m might also not be