tuned
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 28 Nov 2012 07:03:29 +0000
changeset 83 bd61b03b9eaa
parent 82 06c3ec0b452e
child 84 719fd738d2a0
tuned
fib.while
while1.scala
--- a/fib.while	Wed Nov 28 07:00:35 2012 +0000
+++ b/fib.while	Wed Nov 28 07:03:29 2012 +0000
@@ -2,7 +2,7 @@
    input: n
    output: fib_res */
 
-n := 90;
+n := 19;
 minus1 := 0;
 minus2 := 1;
 temp := 0;
--- a/while1.scala	Wed Nov 28 07:00:35 2012 +0000
+++ b/while1.scala	Wed Nov 28 07:03:29 2012 +0000
@@ -172,7 +172,7 @@
 //examples
 
 //eval_prog("loops.while")
-//eval_prog("fib.while")
+eval_prog("fib.while")
 
 
 def time_needed[T](i: Int, code: => T) = {