package genspio

  1. Overview
  2. Docs

Functions on int t values (arithmetic, comparisons, conversions, etc.).

val to_str : int t -> str t
val of_str : str t -> int t
val bin_op : int t -> [ `Div | `Minus | `Mult | `Plus | `Mod ] -> int t -> int t
val add : int t -> int t -> int t
val (+) : int t -> int t -> int t
val sub : int t -> int t -> int t
val (-) : int t -> int t -> int t
val mul : int t -> int t -> int t
val (*) : int t -> int t -> int t
val div : int t -> int t -> int t
val (/) : int t -> int t -> int t
val modulo : int t -> int t -> int t
val (mod) : int t -> int t -> int t
val cmp : [ `Eq | `Ge | `Gt | `Le | `Lt | `Ne ] -> int t -> int t -> bool t
val eq : int t -> int t -> bool t
val ne : int t -> int t -> bool t
val lt : int t -> int t -> bool t
val le : int t -> int t -> bool t
val ge : int t -> int t -> bool t
val gt : int t -> int t -> bool t
val (=) : int t -> int t -> bool t
val (<>) : int t -> int t -> bool t
val (<) : int t -> int t -> bool t
val (<=) : int t -> int t -> bool t
val (>=) : int t -> int t -> bool t
val (>) : int t -> int t -> bool t
OCaml

Innovation. Community. Security.