Integer.st
changeset 19319 88ea441f7071
parent 19316 a6049bf9fcc0
child 19327 723b235f0980
--- a/Integer.st	Thu Mar 10 16:00:52 2016 +0100
+++ b/Integer.st	Thu Mar 10 16:21:33 2016 +0100
@@ -4491,9 +4491,10 @@
 !
 
 digitLength
-    "return the number of bytes needed for the binary representation of the receiver.
-     This method is redefined in concrete classes - the fallback here is
-     never really used."
+    "return the number of bytes needed for the unsigned binary representation of the receiver.
+     For negative receivers, the result is not defined by the language standard.
+     This method is redefined in concrete classes 
+     - the fallback here is actually never used."
 
     ^ (self log:256) ceiling asInteger