changeset 22726 | 5e76d6588adc |
parent 22380 | f21fb6440a1d |
child 23497 | 3e74a0ec2026 |
--- a/LargeInteger.st Sat May 05 22:49:32 2018 +0200 +++ b/LargeInteger.st Sat May 05 22:50:07 2018 +0200 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 1994 by Claus Gittinger All Rights Reserved @@ -5679,6 +5681,12 @@ !LargeInteger methodsFor:'queries'! +isZero + "the integer zero is always represented as a SmallInteger" + + ^ false +! + nextPowerOf2 "return the power of 2 at or above the receiver. Notice, that for a powerOf2, the receiver is returned.