7 <primitive: 'LargeInteger_add'>
12 <primitive: 'LargeInteger_sub'>
17 <primitive: 'LargeInteger_mul'>
22 <primitive: 'LargeInteger_div'>
24 ifTrue: [ self error: 'cannot divide by 0' ].
26 ifTrue: [ ^ Fraction numerator: self denominator: aNumber ]
27 ifFalse: [ ^ super / aNumber ]!
31 <primitive: 'LargeInteger_intDiv'>
36 <primitive: 'LargeInteger_mod'>
44 <primitive: 'LargeInteger_gcd'>
45 ^ super gcd: anInteger!
49 <primitive: 'LargeInteger_lcm'>
50 ^ super lcm: anInteger!
57 <primitive: 'LargeInteger_lt'>
62 <primitive: 'LargeInteger_gt'>
67 <primitive: 'LargeInteger_le'>
72 <primitive: 'LargeInteger_ge'>
77 <primitive: 'LargeInteger_eq'>
82 <primitive: 'LargeInteger_ne'>
87 <primitive: 'LargeInteger_hash'>
95 <primitive: 'LargeInteger_bitOr'>
96 ^ super bitOr: aNumber!
100 <primitive: 'LargeInteger_bitAnd'>
101 ^ super bitAnd: aNumber!
105 <primitive: 'LargeInteger_bitAnd'>
106 ^ super bitXor: aNumber!
110 <primitive: 'LargeInteger_bitShift'>
111 ^ super bitShift: aNumber!
118 <primitive: 'LargeInteger_asFloat'>
119 self primitiveFailed!
143 ^ aNumber asLargeInteger!
149 printStringRadix: anInteger
150 <primitive: 'LargeInteger_printString'>
151 anInteger isSmallInteger
152 ifFalse: [ self error: 'expected a small integer' ]!