Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorIntOverflow = errors.New("Integer Overflow")
ErrorIntOverflow For asserting that the values do not overflow in Int64
View Source
var ErrorNegativeExponent = errors.New("Negative Exponent Provided")
ErrorNegativeExponent for asserting that the exponent we receive is positive
Functions ¶
func ModularExponentiation ¶
ModularExponentiation returns base^exponent % mod
func Multiply64BitInt ¶
Multiply64BitInt Checking if the integer multiplication overflows
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.