Package math implements various mathematical algorithms and provides commonly used constant values.
MaxInt32 is the maximum signed 16-bit integer value.
MaxInt32 is the maximum signed 32-bit integer value.
MaxInt32 is the maximum signed 64-bit integer value.
MaxInt32 is the maximum signed 8-bit integer value.
MaxUint16 is the maximum unsigned 16-bit integer value.
MaxUint32 is the maximum unsigned 32-bit integer value.
MaxUint64 is the maximum unsigned 64-bit integer value.
MaxUint8 is the maximum unsigned 8-bit integer value.
AddUint64 adds two unsigned 64-bit integer numbers.
DivUint64 divides two unsigned 64-bit integer numbers.
Exp computes modular exponentiation b**e mod |m| (i.e. the sign of m is ignore).
ExpMontgomery computes modular exponentiation b**e mod |m| (i.e. the sign of m is ignored). The m must be bigger than 0 and not even number.
MaxUint returns the maximum of the argument unsigned integer numbers.
MinUint returns the minimum of the argument unsigned integer numbers.
MulUint64 multiplies two unsigned 64-bit integer numbers.
SubUint64 subtracts two unsigned 64-bit integer numbers.