- added a check for small log expansions.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 15 Aug 2001 21:36:18 +0000 (21:36 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 15 Aug 2001 21:36:18 +0000 (21:36 +0000)
check/exam_pseries.cpp

index 9a1aaff57ab29ce8b53ea3102e834423c91b8f61..6f3ab5b5fbf21c0d20f8d4d04643704ec6c141b0 100644 (file)
@@ -98,6 +98,11 @@ static unsigned exam_series1(void)
        d = 1 + t + pow(t, 2) / 2 + pow(t, 3) / 6 + pow(t, 4) / 24 + pow(t, 5) / 120 + pow(t, 6) / 720 + pow(t, 7) / 5040 + Order(pow(x, 8));
        result += check_series(e, 0, d.expand());
        
+       e = log(x);
+       d = e;
+       result += check_series(e, 0, d, 1);
+       result += check_series(e, 0, d, 2);
+       
        return result;
 }