package General

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int
include Concepts.Integer.S0 with type t := t
include Concepts.RealNumber.S0 with type t := t
module O : Concepts.RealNumber.Operators.S0 with type t := t
include Concepts.Number.S0 with type t := t and module O := O
include Traits.Displayable.S0 with type t := t
val to_string : t -> string
include Traits.Equatable.S0 with type t := t and module O := O
include Traits.Equatable.Basic.S0 with type t := t
val equal : t -> t -> bool
val different : t -> t -> bool
include Traits.Parsable.S0 with type t := t
val try_of_string : string -> t option
val of_string : string -> t
include Traits.Representable.S0 with type t := t
val repr : t -> string
include Traits.Ringoid.S0 with type t := t and module O := O
include Traits.Ringoid.Basic.S0 with type t := t
val zero : t
val one : t
val negate : t -> t
val add : t -> t -> t
val substract : t -> t -> t
val multiply : t -> t -> t
val divide : t -> t -> t
val square : t -> t
val exponentiate : t -> int -> t
val of_int : int -> t
val of_float : float -> t
include Traits.Comparable.S0 with type t := t and module O := O
include Traits.Comparable.Basic.S0 with type t := t
val compare : t -> t -> Compare.t
val less_than : t -> t -> bool
val less_or_equal : t -> t -> bool
val greater_than : t -> t -> bool
val greater_or_equal : t -> t -> bool
val between : t -> low:t -> high:t -> bool
val between_or_equal : t -> low:t -> high:t -> bool
val min : t -> t -> t
val max : t -> t -> t
val min_max : t -> t -> t * t
val abs : t -> t
val modulo : t -> t -> t
val to_int : t -> int
val to_float : t -> float
include Traits.PredSucc.S0 with type t := t
val succ : t -> t
val pred : t -> t
val smallest : t
val greatest : t
module Bitwise : sig ... end