  links to this page:    Very first steps in a Workspace window Integer Number LargePositiveInteger SmallInteger Numbers Swiki Page List WideString ListOfClassesInSqueak5dot1         Integer
Last updated at 9:04 am UTC on 28 October 2018
I am a common abstract superclass for all Integer implementations.
My implementation subclasses are SmallInteger, LargePositiveInteger, and LargeNegativeInteger.
See my Integer superclass for general numeric methods

### Some common methods (many inherited from Integer)

• arithmetic selectors:
• + - / *
• // (integer quotient) \\ (modulo)
• abs, negated, quo:, reciprocal, rem:
• Comparing
• <, >, =
• mathematical selectors
• sqrt, squared
• ln, log
• gcd, lcm, factorial, take: (combinations taken k at a time)
• trigonometric selectors
• sin, cos, tan
• arcSin, arcCos, arcTan
• degreeCos, degreeSin
• Truncation and rounding
• ceiling, floor
• roundTo:, roundUpTo:, rounded,
• truncateTo:, truncated
• Testing
• odd, even, positive, negative, sign
• isNumber, isNaN, isZero, isDivisibleBy:
• isInteger, isPowerOfTwo
• converting
• asNumber, asPoint, asCharacter, asHexDigit
• @ (special primative for points 1 @ 1)
• Bit manipulation
• << nn, >> nn (bit shifting nn bits)
• bitOr: bitAnd:, bitXor:,bitClear:, bitInvert
• lowBit, highBit
• Intervals (see Interval class)
• to:, to: by:, to: by: do:, to: do:
• enumerating
• timesRepeat:
• Printing
• printOn:, printStringBase: