[src]

Crate num

bigint

A Big integer (signed version: BigInt, unsigned version: BigUint).

complex

Complex numbers.

rational

Rational numbers

Integer
div_floor

Floored integer division

div_mod_floor

Simultaneous floored integer division and modulus

div_rem

Simultaneous integer division and modulus

gcd

Calculates the Greatest Common Divisor (GCD) of the number and other. The result is always positive.

lcm

Calculates the Lowest Common Multiple (LCM) of the number and other.

mod_floor

Floored integer modulus