package genspio

  1. Overview
  2. Docs

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

val to_string : int t -> c_string t
val to_byte_array : int t -> byte_array t
val of_string : c_string t -> int t
val of_byte_array : byte_array 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.