package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private int

An integer value between 0 and 100, inclusive.

val of_ratio_bounded : Ratio_repr.t -> t
val neg : t -> t

neg p is 100 - p.

val add_bounded : t -> t -> t
val sub_bounded : t -> t -> t

Constants

val p0 : t

0

val p5 : t

5

val p50 : t

50

OCaml

Innovation. Community. Security.