BigInt.opBinary

BigInt opBinary(string op)(auto ref const BigInt rhs) const pure @safe
No documentation available for this declaration.
BigInt opBinary(string op, T)(T exp) if (op == "^^" && isIntegral!T) const pure @safe

Power operator for BigInt ^^ integral exponent.

Uses exponentiation by squaring for O(log n) complexity.

Parameters

expThe exponent (must be non-negative integral type)

Returns

this ^^ exp

Throws

Exception if exp is negative
BigInt opBinary(string op, T)(T rhs) if (isIntegral!T && op != "^^") const
No documentation available for this declaration.
BigInt opBinary(string op)(size_t shift) if (op == "<<" || op == ">>") const pure @safe
No documentation available for this declaration.