package prbnmcn-basic-structures

  1. Overview
  2. Docs

The ring of integers

include Basic_intf.Ring_std with type t = Z.t
type t = Z.t
val zero : t
val add : t -> t -> t
val neg : t -> t
val one : t
val mul : t -> t -> t
val sub : t -> t -> t
val of_int : int -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val hash : t -> int
val div : t -> t -> t
OCaml

Innovation. Community. Security.