ranged_int/builtin/uint8

Types

pub opaque type Uint8

Functions

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