#DOCUMENTATION by exept
authorClaus Gittinger <cg@exept.de>
Sun, 01 Dec 2019 05:18:56 +0100
changeset 25010 b6ca5e1a1592
parent 25009 7de69484f252
child 25011 ca3b06227ff4
#DOCUMENTATION by exept class: Integer class comment/format in: #coerce:
Integer.st
--- a/Integer.st	Sun Dec 01 05:18:31 2019 +0100
+++ b/Integer.st	Sun Dec 01 05:18:56 2019 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1988 by Claus Gittinger
               All Rights Reserved
@@ -818,7 +816,7 @@
 !Integer class methodsFor:'coercing & converting'!
 
 coerce:aNumber
-    "convert the argument aNumber into an instance of the receiver's class and return it."
+    "convert the argument aNumber into an instance of the receiver (class) and return it."
 
     ^ aNumber asInteger
 ! !
@@ -1520,7 +1518,6 @@
     "Modified: / 25-08-2017 / 12:32:47 / cg"
 ! !
 
-
 !Integer methodsFor:'bcd conversion'!
 
 decodeFromBCD
@@ -4120,7 +4117,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