mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release 2.12.8.1
Fixed how the *.tar.bz2 are formed. The calc-2.12.8.0.tar.bz2 file that was formed for calc version 2.12.8.0 was missing most files. Expanded 'make chk' to also verify that 'make distchk' and 'make distlist' execute successfully. This will help check a regression of the bug that produced the bogus calc-2.12.8.0.tar.bz2 file. Added additional regression tests related 0^(zero_expression)==1.
This commit is contained in:
@@ -364,7 +364,8 @@ define test_arithmetic()
|
|||||||
vrfy((2^23209-1)^0 == 1, '455: (2^23209-1)^0 == 1');
|
vrfy((2^23209-1)^0 == 1, '455: (2^23209-1)^0 == 1');
|
||||||
vrfy((2^23209-1)^(0-0) == 1, '456: (2^23209-1)^(0-0) == 1');
|
vrfy((2^23209-1)^(0-0) == 1, '456: (2^23209-1)^(0-0) == 1');
|
||||||
vrfy((2^23209-1)^(2-2) == 1, '457: (2^23209-1)^(2-2) == 1');
|
vrfy((2^23209-1)^(2-2) == 1, '457: (2^23209-1)^(2-2) == 1');
|
||||||
vrfy((2^23209-1)^((2^23209-1)-(2^23209-1)) == 1, '458: (2^23209-1)^((2^23209-1)-(2^23209-1)) == 1');
|
vrfy((2^23209-1)^((2^23209-1)-(2^23209-1)) == 1,
|
||||||
|
'458: (2^23209-1)^((2^23209-1)-(2^23209-1)) == 1');
|
||||||
|
|
||||||
print '459: Ending test_arithmetic';
|
print '459: Ending test_arithmetic';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user