diff options
Diffstat (limited to 'test-nsc/files/run/Course-2002-02.check')
-rw-r--r-- | test-nsc/files/run/Course-2002-02.check | 187 |
1 files changed, 187 insertions, 0 deletions
diff --git a/test-nsc/files/run/Course-2002-02.check b/test-nsc/files/run/Course-2002-02.check new file mode 100644 index 0000000000..7d96950711 --- /dev/null +++ b/test-nsc/files/run/Course-2002-02.check @@ -0,0 +1,187 @@ +7 +120 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 + +pi = 3.181104885577714 +pi = 3.181104885577714 + +10.0 +100.0 +2.083333333333333 +3025.7687714031754 +pi = 3.1659792728432152 +pi = 3.181104885577714 +pi = 3.181104885577714 + +1.5 +1.4166666666666665 +1.4142156862745097 +1.4142135623746899 +sqrt(2) = 1.4142135623746899 + +1.5 +1.4166666666666665 +1.4142156862745097 +1.4142135623746899 +sqrt(2) = 1.4142135623746899 + +1 + 2 + .. + 5 = 15.0 +1 * 2 * .. * 5 = 120.0 + +1^2 + 2^2 + .. + 5^2 = 55.0 +1^2 * 2^2 * .. * 5^2 = 14400.0 + +factorial(0) = 1.0 +factorial(1) = 1.0 +factorial(2) = 2.0 +factorial(3) = 6.0 +factorial(4) = 24.0 +factorial(5) = 120.0 + +1 + 2 + .. + 5 = 15.0 +1 * 2 * .. * 5 = 120.0 + +1^2 + 2^2 + .. + 5^2 = 55.0 +1^2 * 2^2 * .. * 5^2 = 14400.0 + +factorial(0) = 1.0 +factorial(1) = 1.0 +factorial(2) = 2.0 +factorial(3) = 6.0 +factorial(4) = 24.0 +factorial(5) = 120.0 + +1 + 2 + .. + 5 = 15.0 +1 * 2 * .. * 5 = 120.0 + +1^2 + 2^2 + .. + 5^2 = 55.0 +1^2 * 2^2 * .. * 5^2 = 14400.0 + +factorial(0) = 1.0 +factorial(1) = 1.0 +factorial(2) = 2.0 +factorial(3) = 6.0 +factorial(4) = 24.0 +factorial(5) = 120.0 + +fib(0) = 0 +fib(1) = 1 +fib(2) = 1 +fib(3) = 2 +fib(4) = 3 +fib(5) = 5 +fib(6) = 8 +fib(7) = 13 +fib(8) = 21 +fib(9) = 34 +fib(0) = 0 +fib(1) = 1 +fib(2) = 1 +fib(3) = 2 +fib(4) = 3 +fib(5) = 5 +fib(6) = 8 +fib(7) = 13 +fib(8) = 21 +fib(9) = 34 +power(0,0) = 1.0 +power(0,1) = 0.0 +power(0,2) = 0.0 +power(0,3) = 0.0 +power(0,4) = 0.0 +power(0,5) = 0.0 +power(0,6) = 0.0 +power(0,7) = 0.0 +power(0,8) = 0.0 + +power(1,0) = 1.0 +power(1,1) = 1.0 +power(1,2) = 1.0 +power(1,3) = 1.0 +power(1,4) = 1.0 +power(1,5) = 1.0 +power(1,6) = 1.0 +power(1,7) = 1.0 +power(1,8) = 1.0 + +power(2,0) = 1.0 +power(2,1) = 2.0 +power(2,2) = 4.0 +power(2,3) = 8.0 +power(2,4) = 16.0 +power(2,5) = 32.0 +power(2,6) = 64.0 +power(2,7) = 128.0 +power(2,8) = 256.0 + +power(3,0) = 1.0 +power(3,1) = 3.0 +power(3,2) = 9.0 +power(3,3) = 27.0 +power(3,4) = 81.0 +power(3,5) = 243.0 +power(3,6) = 729.0 +power(3,7) = 2187.0 +power(3,8) = 6561.0 + +power(4,0) = 1.0 +power(4,1) = 4.0 +power(4,2) = 16.0 +power(4,3) = 64.0 +power(4,4) = 256.0 +power(4,5) = 1024.0 +power(4,6) = 4096.0 +power(4,7) = 16384.0 +power(4,8) = 65536.0 + +power(5,0) = 1.0 +power(5,1) = 5.0 +power(5,2) = 25.0 +power(5,3) = 125.0 +power(5,4) = 625.0 +power(5,5) = 3125.0 +power(5,6) = 15625.0 +power(5,7) = 78125.0 +power(5,8) = 390625.0 + |