File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -3795,7 +3795,7 @@ x_mul(PyLongObject *a, PyLongObject *b)
3795
3795
memset (z -> long_value .ob_digit , 0 , _PyLong_DigitCount (z ) * sizeof (digit ));
3796
3796
if (a == b ) {
3797
3797
/* Efficient squaring per HAC, Algorithm 14.16:
3798
- * http ://www. cacr.math .uwaterloo.ca/hac/about/chap14.pdf
3798
+ * https ://cacr.uwaterloo.ca/hac/about/chap14.pdf
3799
3799
* Gives slightly less than a 2x speedup when a == b,
3800
3800
* via exploiting that each entry in the multiplication
3801
3801
* pyramid appears twice (except for the size_a squares).
@@ -5003,7 +5003,7 @@ long_pow(PyObject *v, PyObject *w, PyObject *x)
5003
5003
}
5004
5004
else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
5005
5005
/* Left-to-right binary exponentiation (HAC Algorithm 14.79) */
5006
- /* http ://www. cacr.math. uwaterloo.ca/hac/about/chap14.pdf */
5006
+ /* https ://cacr.uwaterloo.ca/hac/about/chap14.pdf */
5007
5007
5008
5008
/* Find the first significant exponent bit. Search right to left
5009
5009
* because we're primarily trying to cut overhead for small powers.
You can’t perform that action at this time.
0 commit comments