--- a/Integer.st Tue Oct 25 12:31:42 2016 +0100
+++ b/Integer.st Tue Oct 25 12:35:02 2016 +0100
@@ -818,6 +818,7 @@
"Modified: 18.7.1996 / 12:26:38 / cg"
! !
+
!Integer class methodsFor:'prime numbers'!
flushPrimeCache
@@ -1195,25 +1196,9 @@
^ self == Integer
! !
+
!Integer methodsFor:'Compatibility-Dolphin'!
-& aNumber
- "return the bitwise-and of the receiver and the argument, anInteger.
- Same as bitAnd: - added for compatibility with Dolphin Smalltalk.
- Notice:
- PLEASE DO NOT USE & for integers in new code; it makes the code harder
- to understand, as it may be not obvious, whether a boolean-and a bitWise-and is intended.
- For integers, use bitAnd: to make the intention explicit.
- Also, consider using and: for booleans, which is does not evaluate the right part if the left is false."
-
- ^ self bitAnd:aNumber
-
- "
- 14 | 1
- 9 & 8
- "
-!
-
highWord
"return the high 16 bits of a 32 bit value"
@@ -1459,6 +1444,8 @@
"
! !
+
+
!Integer methodsFor:'bcd conversion'!
decodeFromBCD
@@ -4853,6 +4840,7 @@
"Created: / 09-01-2012 / 17:18:06 / cg"
! !
+
!Integer methodsFor:'special modulo arithmetic'!
add_32:anInteger