Next: Link, Previous: LargeWordArray, Up: Base classes [Index]
I am quite a strange class. Indeed, the concept of a "large integer" that is zero is a weird one. Actually my only instance is zero but is represented like LargeIntegers, has the same generality as LargeIntegers, and so on. That only instance is stored in the class variable Zero, and is used in arithmetical methods, when we have to coerce a parameter that is zero.
• LargeZeroInteger-accessing: | (instance) | |
• LargeZeroInteger-arithmetic: | (instance) | |
• LargeZeroInteger-numeric testing: | (instance) | |
• LargeZeroInteger-printing: | (instance) |