[pypy-commit] pypy math-improvements: Typo in comment
stian
pypy.commits at gmail.com
Mon Nov 20 09:08:56 EST 2017
Author: stian
Branch: math-improvements
Changeset: r93095:6ba5b9334842
Date: 2017-11-20 15:08 +0100
http://bitbucket.org/pypy/pypy/changeset/6ba5b9334842/
Log: Typo in comment
diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py
--- a/rpython/rlib/rbigint.py
+++ b/rpython/rlib/rbigint.py
@@ -2120,7 +2120,7 @@
assert vv >= 0
assert wm1 >= 1
q = vv / wm1
- r = vv % wm1 # This seems to be slightly faster than on widen digits than vv - wm1 * q.
+ r = vv % wm1 # This seems to be slightly faster on widen digits than vv - wm1 * q.
vj2 = v.digit(abs(j-2))
while wm2 * q > ((r << SHIFT) | vj2):
q -= 1
More information about the pypy-commit
mailing list