comment
authorClaus Gittinger <cg@exept.de>
Sun, 01 Feb 2009 03:01:58 +0100
changeset 11499 fa02ab9a83f0
parent 11498 df4f9e10b141
child 11500 6afe4d6e867c
comment
Integer.st
--- a/Integer.st	Thu Jan 29 21:21:46 2009 +0100
+++ b/Integer.st	Sun Feb 01 03:01:58 2009 +0100
@@ -1286,7 +1286,7 @@
 !
 
 bitAt:index
-    "return the value of the index's bit (index starts at 1).
+    "return the value of the index's bit (index starts at 1) as 0 or 1.
      Notice: the result of bitAt: on negative receivers is not 
              defined in the language standard (since the implementation
              is free to choose any internal representation for integers)"
@@ -1918,7 +1918,7 @@
     "return a new integer, where the specified bit is on.
      Bits are counted from 1 starting with the least significant.
      The methods name may be missleading: the receiver is not changed,
-     but a new number is returned. Should be named #withBitCleared:"
+     but a new number is returned. Should be named #withBitSet:"
 
     index <= 0 ifTrue:[
         ^ SubscriptOutOfBoundsSignal 
@@ -3852,7 +3852,7 @@
 !Integer class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Integer.st,v 1.210 2009-01-26 08:53:00 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Integer.st,v 1.211 2009-02-01 02:01:58 cg Exp $'
 ! !
 
 Integer initialize!