Previous: , Up: LargePositiveInteger   [Index]


1.100.5 LargePositiveInteger: primitive operations

divide: aNumber using: aBlock

Private - Divide the receiver by aNumber (unsigned division). Evaluate aBlock passing the result ByteArray, the remainder ByteArray, and whether the division had a remainder

isSmall

Private - Answer whether the receiver is small enough to employ simple scalar algorithms for division and multiplication

multiply: aNumber

Private - Multiply the receiver by aNumber (unsigned multiply)