"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cal/test8900.cal" between
calc-2.12.7.2.tar.bz2 and calc-2.12.7.6.tar.bz2

About: Calc is a C-style arbitrary precision calculator.

test8900.cal  (calc-2.12.7.2.tar.bz2):test8900.cal  (calc-2.12.7.6.tar.bz2)
skipping to change at line 2057 skipping to change at line 2057
return 3; return 3;
} }
if ((stirling2(10, 10) - (1)) != 0) { if ((stirling2(10, 10) - (1)) != 0) {
epsilon(eps); epsilon(eps);
return 4; return 4;
} }
if ((stirling2(10, 1) - (1)) != 0) { if ((stirling2(10, 1) - (1)) != 0) {
epsilon(eps); epsilon(eps);
return 5; return 5;
} }
if ((stirling2(10, 5) - (42525)) != 0) { /*
* Once, when an expression such as 0^(6-6) returned 0,
* then stirling2(10, 5) == 42525. However when we made9
* 0^(6-6) == 0^0 == 1, then stirling2(10, 5) == 5102999/120.
*/
if ((stirling2(10, 5) - (5102999/120)) != 0) {
epsilon(eps); epsilon(eps);
return 6; return 6;
} }
epsilon(eps); epsilon(eps);
return 0; return 0;
} }
define t011() define t011()
{ {
local eps; local eps;
eps = epsilon(1e-20); eps = epsilon(1e-20);
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)