Usage
import from BinaryPowering(T, Z)
Parameter | Type | Description |
---|---|---|
T | ArithmeticType | An arithmetic system |
Z | IntegerType | An integer-like type |
Description
BinaryPowering provides binary exponentiation of elements of with exponents in .
Exports
binaryExponentiation: (T, Z) T Binary powering binaryExponentiation!: (T, Z) T In-place binary powering