Module type BigIntSig.BASIC

A signature for big numbers that is satisfied both by Zarith and by the older, slower but license-friendly Num package. This minimal signature is required by IFSeqSyn and IFSeqObj.

type 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