sig
val le : My_bigint.t -> My_bigint.t -> bool
val ge : My_bigint.t -> My_bigint.t -> bool
val lt : My_bigint.t -> My_bigint.t -> bool
val gt : My_bigint.t -> My_bigint.t -> bool
val add : My_bigint.t -> My_bigint.t -> My_bigint.t
val sub : My_bigint.t -> My_bigint.t -> My_bigint.t
val mul : My_bigint.t -> My_bigint.t -> My_bigint.t
val native_div : My_bigint.t -> My_bigint.t -> My_bigint.t
val rem : My_bigint.t -> My_bigint.t -> My_bigint.t
val pos_div : My_bigint.t -> My_bigint.t -> My_bigint.t
val c_div : My_bigint.t -> My_bigint.t -> My_bigint.t
val c_rem : My_bigint.t -> My_bigint.t -> My_bigint.t
val cast :
size:My_bigint.t -> signed:bool -> value:My_bigint.t -> My_bigint.t
val abs : My_bigint.t -> My_bigint.t
val one : My_bigint.t
val two : My_bigint.t
val four : My_bigint.t
val onethousand : My_bigint.t
val minus_one : My_bigint.t
val is_zero : My_bigint.t -> bool
val is_one : My_bigint.t -> bool
val pgcd : My_bigint.t -> My_bigint.t -> My_bigint.t
val ppcm : My_bigint.t -> My_bigint.t -> My_bigint.t
val min : My_bigint.t -> My_bigint.t -> My_bigint.t
val max : My_bigint.t -> My_bigint.t -> My_bigint.t
val length : My_bigint.t -> My_bigint.t -> My_bigint.t
val of_int : int -> My_bigint.t
val of_float : float -> My_bigint.t
val of_int64 : Int64.t -> My_bigint.t
val to_int64 : My_bigint.t -> int64
val to_int : My_bigint.t -> int
val to_float : My_bigint.t -> float
val neg : My_bigint.t -> My_bigint.t
val succ : My_bigint.t -> My_bigint.t
val pred : My_bigint.t -> My_bigint.t
val round_up_to_r :
min:My_bigint.t -> r:My_bigint.t -> modu:My_bigint.t -> My_bigint.t
val round_down_to_r :
max:My_bigint.t -> r:My_bigint.t -> modu:My_bigint.t -> My_bigint.t
val pos_rem : My_bigint.t -> My_bigint.t -> My_bigint.t
val shift_left : My_bigint.t -> My_bigint.t -> My_bigint.t
val shift_right : My_bigint.t -> My_bigint.t -> My_bigint.t
val logand : My_bigint.t -> My_bigint.t -> My_bigint.t
val logor : My_bigint.t -> My_bigint.t -> My_bigint.t
val logxor : My_bigint.t -> My_bigint.t -> My_bigint.t
val lognot : My_bigint.t -> My_bigint.t
val power_two : int -> My_bigint.t
val two_power : My_bigint.t -> My_bigint.t
val extract_bits :
start:My_bigint.t -> stop:My_bigint.t -> My_bigint.t -> My_bigint.t
val small_nums : My_bigint.t array
val zero : My_bigint.t
val eight : My_bigint.t
val thirtytwo : My_bigint.t
val div : My_bigint.t -> My_bigint.t -> My_bigint.t
val billion_one : My_bigint.t
val shift_right_logical : My_bigint.t -> My_bigint.t -> My_bigint.t
val max_int64 : My_bigint.t
val min_int64 : My_bigint.t
val bits_of_max_float : My_bigint.t
val bits_of_most_negative_float : My_bigint.t
val of_string : string -> My_bigint.t
val to_string : My_bigint.t -> string
val add_2_64 : My_bigint.t -> My_bigint.t
val is_even : My_bigint.t -> bool
val round_down_to_zero : My_bigint.t -> My_bigint.t -> My_bigint.t
val power_int_positive_int : int -> int -> My_bigint.t
val to_num : My_bigint.t -> Num.num
val popcount : My_bigint.t -> int
type t = My_bigint.t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code : Type.precedence -> Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
module Set :
sig
type elt = t
type t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val partition : (elt -> bool) -> t -> t * t
val cardinal : t -> int
val elements : t -> elt list
val min_elt : t -> elt
val max_elt : t -> elt
val choose : t -> elt
val split : elt -> t -> t * bool * t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val hash : t -> int
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty_code : Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Map :
sig
type key = t
type +'a t
val empty : 'a t
val is_empty : 'a t -> bool
val mem : key -> 'a t -> bool
val add : key -> 'a -> 'a t -> 'a t
val singleton : key -> 'a -> 'a t
val remove : key -> 'a t -> 'a t
val merge :
(key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c t
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val for_all : (key -> 'a -> bool) -> 'a t -> bool
val exists : (key -> 'a -> bool) -> 'a t -> bool
val filter : (key -> 'a -> bool) -> 'a t -> 'a t
val partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a t
val cardinal : 'a t -> int
val bindings : 'a t -> (key * 'a) list
val min_binding : 'a t -> key * 'a
val max_binding : 'a t -> key * 'a
val choose : 'a t -> key * 'a
val split : key -> 'a t -> 'a t * 'a option * 'a t
val find : key -> 'a t -> 'a
val map : ('a -> 'b) -> 'a t -> 'b t
val mapi : (key -> 'a -> 'b) -> 'a t -> 'b t
module Key :
sig
type t = key
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Make :
functor (Data : Datatype.S) ->
sig
type t = Data.t t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
end
module Hashtbl :
sig
type key = t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
val mem : 'a t -> key -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
val memo : 'a t -> key -> (key -> 'a) -> 'a
module Key :
sig
type t = key
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
module Make :
functor (Data : Datatype.S) ->
sig
type t = Data.t t
val ty : t Type.t
val name : string
val descr : t Descr.t
val packed_descr : Structural_descr.pack
val reprs : t list
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int
val pretty_code : Format.formatter -> t -> unit
val internal_pretty_code :
Type.precedence -> Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val varname : t -> string
val mem_project : (Project_skeleton.t -> bool) -> t -> bool
val copy : t -> t
end
end
val pretty : Format.formatter -> t -> unit
val fold : (t -> 'a -> 'a) -> inf:t -> sup:t -> step:t -> 'a -> 'a
end