fix interpreter overflow issue

flag set for bigness, result reduced
tests for + and *
fixed fibs tests
This commit is contained in:
Torsten Ruger
2015-11-08 15:15:55 +02:00
parent 6ea698d397
commit d6108e7b3a
8 changed files with 73 additions and 33 deletions

View File

@ -10,4 +10,5 @@ def fibonaccit(n)
end
#1000000.times {fibonaccit( 30 )}
puts fibonaccit 100
#10.times {|i| puts fibonaccit(i+90).class}
puts fibonaccit 90