shithub: mc

Download patch

ref: 8acfc5e2a00efe3866d7c5aa9201d4bd0fe9216e
parent: 964632bdffbee7760477e2faa3c862a18528f518
author: Ori Bernstein <[email protected]>
date: Wed Jan 22 15:28:38 EST 2014

Correct comment.

--- a/libstd/bigint.myr
+++ b/libstd/bigint.myr
@@ -338,7 +338,7 @@
 		q.sign = 1
 	;;
 
-	/* handle single digit divisor separately for performance */
+	/* handle single digit divisor separately: the knuth algorithm needs at least 2 digits. */
 	if b.dig.len == 1
 		carry = 0
 		b0 = (b.dig[0] castto(uint64))