Skip to content

std:math/Integer

Canonical occurrence: protos/lib/math/Integer.protos · Protos revision: e99b712ecf658a527b1fe82c8beba2c1286d8dc9.

Exact mathematical algorithms over ordinary unbounded Core Integer values.

This page lists the complete mechanically observable top-level slot inventory required by D067. Authored documentation, when present, is canonical D062 prose; mechanical presence alone does not create a stability or compatibility promise.

Returns the exact factorial of a non-negative ordinary Integer.

Returns the non-negative greatest common divisor of two ordinary Integers.

Returns the non-negative least common multiple of two ordinary Integers.

Returns the exact non-negative-integer power using exponentiation by squaring.

Returns canonical mathematical modular exponentiation for a positive modulus.

Exact module source · Standard-library API · Standard library overview