Hello,
I have just succesfully built maxima 5.21.1 from source with gcl in
Debian 5.0 lenny.
I ran the test suite and all tests completed with 'Which was correct',
except these two:
Running tests in rtest16:
********************** Problem 180 ***************
Input:
float((2^60-1)/2^60)-1
Result:
-1.1102230246251565*10^-16
This differed from the expected result:
0.0
********************** Problem 181 ***************
Input:
float((2^1000-1)/2^1000)-1
Result:
-1.1102230246251565*10^-16
This differed from the expected result:
0.0
373/375 tests passed
The following 2 problems failed: (180 181)
Error summary:
Errors found in /usr/share/maxima/5.21.1/tests/rtest16.mac, problems:
(180 181)
2 tests failed out of 375 total tests.
According to the comment in the testsuite code, this is meant to test
for a known bug:
/*
* Bug [ 2688847 ] float of rats rounds incorrectly
*/
float((2^60-1)/2^60)-1;
0.0;
float((2^1000-1)/2^1000)-1;
0.0;
However, the sourceforge maxima bug tracker
http://sourceforge.net/tracker/index.php?func=detail&aid=2688847&group_id=4933&atid=104933
states that this bug is fixed and closed.
Do any of you have an explanation (or have found the same)?
Thank you,
Paulo Gomes