4
external neg : int32 -> int32 = "%int32_neg"
5
external add : int32 -> int32 -> int32 = "%int32_add"
6
external sub : int32 -> int32 -> int32 = "%int32_sub"
7
external mul : int32 -> int32 -> int32 = "%int32_mul"
8
external div : int32 -> int32 -> int32 = "%int32_div"
9
val unsigned_div : int32 -> int32 -> int32
10
external rem : int32 -> int32 -> int32 = "%int32_mod"
11
val unsigned_rem : int32 -> int32 -> int32
12
val succ : int32 -> int32
13
val pred : int32 -> int32
14
val abs : int32 -> int32
17
external logand : int32 -> int32 -> int32 = "%int32_and"
18
external logor : int32 -> int32 -> int32 = "%int32_or"
19
external logxor : int32 -> int32 -> int32 = "%int32_xor"
20
val lognot : int32 -> int32
21
external shift_left : int32 -> int -> int32 = "%int32_lsl"
22
external shift_right : int32 -> int -> int32 = "%int32_asr"
23
external shift_right_logical : int32 -> int -> int32 = "%int32_lsr"
24
external of_int : int -> int32 = "%int32_of_int"
25
external to_int : int32 -> int = "%int32_to_int"
26
val unsigned_to_int : int32 -> int option
28
float -> int32 = "caml_int32_of_float" "caml_int32_of_float_unboxed"
29
[@@unboxed ][@@noalloc ]
31
int32 -> float = "caml_int32_to_float" "caml_int32_to_float_unboxed"
32
[@@unboxed ][@@noalloc ]
33
external of_string : string -> int32 = "caml_int32_of_string"
34
val of_string_opt : string -> int32 option
35
val to_string : int32 -> string
36
external bits_of_float :
37
float -> int32 = "caml_int32_bits_of_float"
38
"caml_int32_bits_of_float_unboxed"[@@unboxed ][@@noalloc ]
39
external float_of_bits :
40
int32 -> float = "caml_int32_float_of_bits"
41
"caml_int32_float_of_bits_unboxed"[@@unboxed ][@@noalloc ]
43
val compare : t -> t -> int
44
val unsigned_compare : t -> t -> int
45
val equal : t -> t -> bool
46
external format : string -> int32 -> string = "caml_int32_format"