package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Fixed_point_repr.Safe with type 'a t = Saturation_repr.may_saturate Saturation_repr.t
val integral_exn : Z.t -> integral
val integral_of_int_exn : int -> integral
val integral_to_z : integral -> Z.t
val zero : 'a t
val add : 'a t -> 'a t -> 'a t
val sub : 'a t -> 'a t -> 'a t
val ceil : fp -> integral
val floor : fp -> integral
val fp : 'a t -> fp
val (=) : 'a t -> 'b t -> bool
val (<>) : 'a t -> 'b t -> bool
val (<) : 'a t -> 'b t -> bool
val (<=) : 'a t -> 'b t -> bool
val (>=) : 'a t -> 'b t -> bool
val (>) : 'a t -> 'b t -> bool
val compare : 'a t -> 'b t -> int
val equal : 'a t -> 'b t -> bool
val max : 'a t -> 'a t -> 'a t
val min : 'a t -> 'a t -> 'a t
val pp : Stdlib.Format.formatter -> 'a t -> unit
val pp_integral : Stdlib.Format.formatter -> integral -> unit
val n_fp_encoding : fp Data_encoding.t
val n_integral_encoding : integral Data_encoding.t
val z_fp_encoding : fp Data_encoding.t
val z_integral_encoding : integral Data_encoding.t
val unsafe_fp : Z.t -> fp
OCaml

Innovation. Community. Security.