9
external neg : int -> int = "%negint"
10
external add : int -> int -> int = "%addint"
11
external sub : int -> int -> int = "%subint"
12
external mul : int -> int -> int = "%mulint"
13
external div : int -> int -> int = "%divint"
14
external rem : int -> int -> int = "%modint"
15
external succ : int -> int = "%succint"
16
external pred : int -> int = "%predint"
20
external logand : int -> int -> int = "%andint"
21
external logor : int -> int -> int = "%orint"
22
external logxor : int -> int -> int = "%xorint"
24
external shift_left : int -> int -> int = "%lslint"
25
external shift_right : int -> int -> int = "%asrint"
26
external shift_right_logical : int -> int -> int = "%lsrint"
29
external to_float : int -> float = "%floatofint"
30
external of_float : float -> int = "%intoffloat"
31
let to_string = string_of_int