ranged_int/builtin/uint

An unsigned integer ranging from 0 and upwards.

Types

pub opaque type Uint

Functions

pub fn add(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn compare(a: Uint, b: Uint) -> Order
pub fn divide(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn eject(op: Result(Uint, Overflow)) -> BigInt
pub fn from_bigint(value: BigInt) -> Result(Uint, Overflow)
pub fn modulo(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn multiply(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn power(a: Uint, b: Uint) -> Result(Uint, Overflow)
pub fn remainder(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn subtract(a: Uint, b: BigInt) -> Result(Uint, Overflow)
pub fn to_bigint(uint: Uint) -> BigInt
Search Document