test/java/math/BigInteger/BigIntegerTest.java
Print this page
rev 10027 : 8058505: BigIntegerTest does not exercise Burnikel-Ziegler division
Summary: Modify divideLarge() method such that the w/z division exercises the B-Z branch.
Reviewed-by: darcy
Contributed-by: Robert Gibson <robbiexgibson@yahoo.com>
rev 10028 : 8058664: Bad fonts in BigIntegerTest
Summary: Replace bad fonts with spaces.
Reviewed-by: alanb
rev 10029 : 8058679: More bad characters in BigIntegerTest
Summary: Remove remaining non-US-ASCII characters
Reviewed-by: TBD
@@ -290,11 +290,11 @@
* {@code w/z = q1*z + r1} and {@code u/v = q2*v + r2}, then
* {@code q1 = q2*pow(2,a-b)} and {@code r1 = r2*pow(2,b)}. The test
* ensures that {@code v} is just under the B-Z threshold, that {@code z} is
* over the threshold and {@code w} is much larger than {@code z}. This
* implies that {@code u/v} uses the standard division algorithm and
- * {@code w/z} uses the B-Z algorithm. The results of the two algorithms
+ * {@code w/z} uses the B-Z algorithm. The results of the two algorithms
* are then compared using the observation described in the foregoing and
* if they are not equal a failure is logged.
*/
public static void divideLarge() {
int failCount = 0;