]> www.ginac.de Git - ginac.git/commitdiff
exam_inifcns_nstdsums.cpp: prec set to 10*pow(10,-Digits) in inifcns_test_HLi to...
authorStefan Weinzierl <weinzierl@uni-mainz.de>
Sat, 15 Jan 2022 09:08:07 +0000 (10:08 +0100)
committerStefan Weinzierl <weinzierl@uni-mainz.de>
Sat, 15 Jan 2022 09:08:07 +0000 (10:08 +0100)
check/exam_inifcns_nstdsums.cpp

index c808085322d3b646124ac5b1edf55d5c64e6287c..ea90c53cb9ac174d4f2af274ef400007281c5901 100644 (file)
@@ -128,7 +128,8 @@ static unsigned inifcns_test_HLi()
        using GiNaC::log;
        int digitsbuf = Digits;
        Digits = 17;
-       ex prec = 5 * pow(10, -(ex)Digits);
+       // 15.01.2022: prec set to 10*pow(10,-Digits) to avoid exam failure in sporadic cases
+       ex prec = 10 * pow(10, -(ex)Digits);
        numeric almostone("0.999999999999999999");
        unsigned result = 0;