From c42a10e8b3462b7befe957871d49d2eef0688090 Mon Sep 17 00:00:00 2001 From: Jens Vollinga Date: Mon, 9 May 2005 17:10:43 +0000 Subject: [PATCH] Adapted exam for Alexei's gcd patch. --- check/exam_normalization.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check/exam_normalization.cpp b/check/exam_normalization.cpp index d02b98ef..c0a2e232 100644 --- a/check/exam_normalization.cpp +++ b/check/exam_normalization.cpp @@ -81,7 +81,7 @@ static unsigned exam_normal2() result += check_normal(e, d); e = (pow(x, 2) - pow(y, 2)) / pow(x-y, 3); - d = (x + y) / (pow(x, 2) + pow(y, 2) - x * y * 2); + d = (x + y) / pow(x - y, 2); result += check_normal(e, d); e = (pow(x, -1) + x) / (pow(x , 2) * 2 + 2); @@ -90,7 +90,7 @@ static unsigned exam_normal2() // Fraction cancellation with rational coefficients e = (pow(x, 2) - pow(y, 2)) / pow(x/2 - y/2, 3); - d = (8 * x + 8 * y) / (pow(x, 2) + pow(y, 2) - x * y * 2); + d = (8 * x + 8 * y) / pow(x - y, 2); result += check_normal(e, d); // Fraction cancellation with rational coefficients -- 2.44.0