package feat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

This module implements a small set of operations on big integers.

include FeatCore.BigIntSig.EXTENDED with type t = Z.t
include FeatCore.BigIntSig.BASIC with type t = Z.t
type t = Z.t
val zero : t
val one : t
val pred : t -> t
val add : t -> t -> t
val sub : t -> t -> t
val mul : t -> t -> t
val div_rem : t -> t -> t * t
val equal : t -> t -> bool
val lt : t -> t -> bool
val of_int : int -> t
exception Overflow
val to_int : t -> int
val leq : t -> t -> bool
val geq : t -> t -> bool
val (/) : t -> t -> t
val (*) : t -> t -> t
val (mod) : t -> t -> t
val (lsl) : t -> int -> t
val (lor) : t -> t -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.