ranged_int/builtin/uint64

Types

pub opaque type Uint64

Functions

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