package tezos-protocol-016-PtMumbai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Z.t
exception Overflow
val zero : t
val one : t
val minus_one : t
val of_int : int -> t
val of_int32 : int32 -> t
val of_int64 : int64 -> t
val of_string : string -> t
val of_substring : string -> pos:int -> len:int -> t
val of_string_base : int -> string -> t
val of_substring_base : int -> string -> pos:int -> len:int -> t
val succ : t -> t
val pred : t -> t
val abs : t -> t
val neg : t -> t
val add : t -> t -> t
val sub : t -> t -> t
val mul : t -> t -> t
val div : t -> t -> t
val rem : t -> t -> t
val div_rem : t -> t -> t * t
val cdiv : t -> t -> t
val fdiv : t -> t -> t
val ediv_rem : t -> t -> t * t
val ediv : t -> t -> t
val erem : t -> t -> t
val divexact : t -> t -> t
val divisible : t -> t -> bool
val congruent : t -> t -> t -> bool
val logand : t -> t -> t
val logor : t -> t -> t
val logxor : t -> t -> t
val lognot : t -> t
val shift_left : t -> int -> t
val shift_right : t -> int -> t
val shift_right_trunc : t -> int -> t
val numbits : t -> int
val trailing_zeros : t -> int
val testbit : t -> int -> bool
val popcount : t -> int
val hamdist : t -> t -> int
val to_int : t -> int
val to_int32 : t -> int32
val to_int64 : t -> int64
val to_string : t -> string
val format : string -> t -> string
val fits_int : t -> bool
val fits_int32 : t -> bool
val fits_int64 : t -> bool
val pp_print : Format.formatter -> t -> unit
val compare : t -> t -> int
val equal : t -> t -> bool
val leq : t -> t -> bool
val geq : t -> t -> bool
val lt : t -> t -> bool
val gt : t -> t -> bool
val sign : t -> int
val min : t -> t -> t
val max : t -> t -> t
val is_even : t -> bool
val is_odd : t -> bool
val pow : t -> int -> t
val sqrt : t -> t
val sqrt_rem : t -> t * t
val root : t -> int -> t
val rootrem : t -> int -> t * t
val perfect_power : t -> bool
val perfect_square : t -> bool
val log2 : t -> int
val log2up : t -> int
val size : t -> int
val to_bits : t -> string
val of_bits : string -> t
OCaml

Innovation. Community. Security.