Levente Uzonyi uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-ul.1411.mcz
==================== Summary ====================
Name: Kernel-ul.1411 Author: ul Time: 10 September 2021, 3:16:23.23175 pm UUID: 9d7f74f9-52b9-4a1c-babf-60de439244bb Ancestors: Kernel-ul.1409
- let all Numbers respond to #isPowerOfTwo. - removed Integer >> #isPowerOfTwo because it was not used: all subclasses implement that method
=============== Diff against Kernel-ul.1409 ===============
Item was added: + ----- Method: Fraction>>isPowerOfTwo (in category 'testing') ----- + isPowerOfTwo + "Return true if the receiver is an integral power of two." + + ^numerator = 1 and: [ denominator isPowerOfTwo ]!
Item was removed: - ----- Method: Integer>>isPowerOfTwo (in category 'testing') ----- - isPowerOfTwo - "Return true if the receiver is an integral power of two." - - ^self strictlyPositive and: [ (self bitAnd: self - 1) = 0 ]!
Item was added: + ----- Method: Number>>isPowerOfTwo (in category 'testing') ----- + isPowerOfTwo + "Return true if the receiver is an integral power of two." + + self subclassResponsibility!
Item was added: + ----- Method: ScaledDecimal>>isPowerOfTwo (in category 'testing') ----- + isPowerOfTwo + "Return true if the receiver is an integral power of two." + + ^fraction isPowerOfTwo!
squeak-dev@lists.squeakfoundation.org