--- a/Integer.st Sun Jun 23 21:55:30 2019 +0200
+++ b/Integer.st Sun Jun 23 21:56:14 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1988 by Claus Gittinger
All Rights Reserved
@@ -2563,6 +2565,11 @@
].
^ self setBit:anIntegerIndex
+ "
+ 2r1100 bitAt:1 put:1
+ 2r1101 bitAt:1 put:0
+ "
+
"Created: / 23-06-2019 / 21:55:15 / Claus Gittinger"
!
@@ -4141,7 +4148,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