Category: Language-Data types
Superclass: LargeInteger
Just like my brother LargePositiveInteger, I provide a few methods that allow LargeInteger to determine the sign of a large integer in a fast way during its calculations. For example, I know that I am smaller than any LargePositiveInteger

Method category index

converting (instance)
numeric testing (instance)
reverting to LargePositiveInteger (instance)

converting (instance)

asFloatD
Answer the receiver converted to a FloatD

asFloatE

Answer the receiver converted to a FloatE

asFloatQ

Answer the receiver converted to a FloatQ

top


numeric testing (instance)

abs
Answer the receiver's absolute value.

negative

Answer whether the receiver is < 0

positive

Answer whether the receiver is >= 0

sign

Answer the receiver's sign

strictlyPositive

Answer whether the receiver is > 0

top


reverting to LargePositiveInteger (instance)

+ aNumber
Sum the receiver and aNumber, answer the result

- aNumber

Subtract aNumber from the receiver, answer the result

gcd: anInteger

Return the greatest common divisor between the receiver and anInteger

highBit

Answer the receiver's highest bit's index

top