You can search for identifiers within the package.
in-package search v0.2.0
ocgtk.common
Int16
Signed 16-bit integer (gint16).
gint16
Backed by private int — no heap allocation. Range: -32768, 32767.
private int
-32768, 32767
type t = private int
val of_int : int -> t
of_int n converts n to an Int16.t.
of_int n
n
Int16.t
Invalid_argument
if n < -32768 || n > 32767.
n < -32768 || n > 32767
val to_int : t -> int
to_int v returns the underlying integer value.
to_int v
val min_int : t
The minimum value: -32768.
-32768
val max_int : t
The maximum value: 32767.
32767
val minus_one : t
The value -1.
-1
val min_value : int
The minimum value representable as an int, equal to to_int min_int.
int
to_int min_int
val max_value : int
The maximum value representable as an int, equal to to_int max_int.
to_int max_int