GNU Smalltalk Library Reference: LargeInteger-coercion

Next: , Previous: , Up: LargeInteger [Index]


1.98.5 LargeInteger: coercion

asCNumber

Convert the receiver to a kind of number that is understood by the C call-out mechanism.

coerce: aNumber

Truncate the number; if needed, convert it to LargeInteger representation.

generality

Answer the receiver’s generality

unity

Coerce 1 to the receiver’s class

zero

Coerce 0 to the receiver’s class

AltStyle によって変換されたページ (->オリジナル) /