--- a/Integer.st Thu Oct 13 11:57:39 2016 +0200
+++ b/Integer.st Thu Oct 13 12:33:59 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1988 by Claus Gittinger
All Rights Reserved
@@ -501,7 +503,7 @@
].
].
"/ val > 5000 ifTrue:[
-"/ ^ RomanNumberFormatError raiseErrorStirng:'number out of range (1..5000)'
+"/ ^ RomanNumberFormatError raiseErrorString:'number out of range (1..5000)'
"/ ].
^ val.
@@ -773,8 +775,6 @@
"Modified: / 15.11.1999 / 20:35:20 / cg"
! !
-
-
!Integer class methodsFor:'class initialization'!
initialize
@@ -3495,7 +3495,7 @@
^ fibUsingDict value:self
"the running time is mostly dictated by the LargeInteger multiplication performance...
- (therefore, we get O(n²) execution times, even for a linear number of multiplications)
+ (therefore, we get O(n²) execution times, even for a linear number of multiplications)
Time millisecondsToRun:[50000 fib_iterative] 312 (DUO 1.7Ghz CPU)
Time millisecondsToRun:[50000 fib_helper] 109