ranged_int/builtin/int8

Types

pub opaque type Int8

Functions

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