3
(** Alias for {!Int32.t} *)
5
val unsigned_div : int32 -> int32 -> int32
6
(** @since 4.08.0: val unsigned_div : int32 -> int32 -> int32 *)
8
val unsigned_rem : int32 -> int32 -> int32
9
(** @since 4.08.0: val unsigned_rem : int32 -> int32 -> int32 *)
11
val unsigned_to_int : int32 -> int option
12
(** @since 4.08.0: val unsigned_to_int : int32 -> int option *)
14
val unsigned_compare : t -> t -> int
15
(** @since 4.08.0: val unsigned_compare : t -> t -> int *)
17
val of_string_opt : string -> int32 option
18
(** @since 4.05.0: val of_string_opt : string -> int32 option *)
20
val equal : t -> t -> bool
21
(** @since 4.03.0: val equal : t -> t -> bool *)
24
external bits_of_float :
25
float -> int32 = "caml_int32_bits_of_float"
26
"caml_int32_bits_of_float_unboxed"[@@unboxed ][@@noalloc ]
30
external bits_of_float : float -> int32 = "caml_int32_bits_of_float"
33
val bits_of_float : float -> int32
38
external bits_of_float :
39
float -> int32 = "caml_int32_bits_of_float"
40
"caml_int32_bits_of_float_unboxed"[@@unboxed ][@@noalloc ]
42
external bits_of_float : float -> int32 = "caml_int32_bits_of_float"
46
external float_of_bits :
47
int32 -> float = "caml_int32_float_of_bits"
48
"caml_int32_float_of_bits_unboxed"[@@unboxed ][@@noalloc ]
52
external float_of_bits : int32 -> float = "caml_int32_float_of_bits"
55
val float_of_bits : int32 -> float
60
external float_of_bits :
61
int32 -> float = "caml_int32_float_of_bits"
62
"caml_int32_float_of_bits_unboxed"[@@unboxed ][@@noalloc ]
64
external float_of_bits : int32 -> float = "caml_int32_float_of_bits"
68
(** Alias for {!Int32.zero} *)
71
(** Alias for {!Int32.one} *)
74
(** Alias for {!Int32.minus_one} *)
76
external neg : int32 -> int32 = "%int32_neg"
77
(** Alias for {!Int32.neg} *)
79
external add : int32 -> int32 -> int32 = "%int32_add"
80
(** Alias for {!Int32.add} *)
82
external sub : int32 -> int32 -> int32 = "%int32_sub"
83
(** Alias for {!Int32.sub} *)
85
external mul : int32 -> int32 -> int32 = "%int32_mul"
86
(** Alias for {!Int32.mul} *)
88
external div : int32 -> int32 -> int32 = "%int32_div"
89
(** Alias for {!Int32.div} *)
91
external rem : int32 -> int32 -> int32 = "%int32_mod"
92
(** Alias for {!Int32.rem} *)
94
val succ : int32 -> int32
95
(** Alias for {!Int32.succ} *)
97
val pred : int32 -> int32
98
(** Alias for {!Int32.pred} *)
100
val abs : int32 -> int32
101
(** Alias for {!Int32.abs} *)
104
(** Alias for {!Int32.max_int} *)
107
(** Alias for {!Int32.min_int} *)
109
external logand : int32 -> int32 -> int32 = "%int32_and"
110
(** Alias for {!Int32.logand} *)
112
external logor : int32 -> int32 -> int32 = "%int32_or"
113
(** Alias for {!Int32.logor} *)
115
external logxor : int32 -> int32 -> int32 = "%int32_xor"
116
(** Alias for {!Int32.logxor} *)
118
val lognot : int32 -> int32
119
(** Alias for {!Int32.lognot} *)
121
external shift_left : int32 -> int -> int32 = "%int32_lsl"
122
(** Alias for {!Int32.shift_left} *)
124
external shift_right : int32 -> int -> int32 = "%int32_asr"
125
(** Alias for {!Int32.shift_right} *)
127
external shift_right_logical : int32 -> int -> int32 = "%int32_lsr"
128
(** Alias for {!Int32.shift_right_logical} *)
130
external of_int : int -> int32 = "%int32_of_int"
131
(** Alias for {!Int32.of_int} *)
133
external to_int : int32 -> int = "%int32_to_int"
134
(** Alias for {!Int32.to_int} *)
138
float -> int32 = "caml_int32_of_float" "caml_int32_of_float_unboxed"
139
[@@unboxed ][@@noalloc ]
141
@BEGIN_BEFORE_4_03_0@
143
external of_float : float -> int32 = "caml_int32_of_float"
145
@BEGIN_BEFORE_3_08_0@
146
external of_float : float -> int32 = "int32_of_float"
152
float -> int32 = "caml_int32_of_float" "caml_int32_of_float_unboxed"
153
[@@unboxed ][@@noalloc ]
154
@since 3.08.0: external of_float : float -> int32 = "caml_int32_of_float"
155
@since 3.07.0: external of_float : float -> int32 = "int32_of_float"
160
int32 -> float = "caml_int32_to_float" "caml_int32_to_float_unboxed"
161
[@@unboxed ][@@noalloc ]
163
@BEGIN_BEFORE_4_03_0@
165
external to_float : int32 -> float = "caml_int32_to_float"
167
@BEGIN_BEFORE_3_08_0@
168
external to_float : int32 -> float = "int32_to_float"
174
int32 -> float = "caml_int32_to_float" "caml_int32_to_float_unboxed"
175
[@@unboxed ][@@noalloc ]
176
@since 3.08.0: external to_float : int32 -> float = "caml_int32_to_float"
177
@since 3.07.0: external to_float : int32 -> float = "int32_to_float"
181
external of_string : string -> int32 = "caml_int32_of_string"
183
@BEGIN_BEFORE_3_08_0@
184
external of_string : string -> int32 = "int32_of_string"
187
external of_string : string -> int32 = "caml_int32_of_string"
188
@since 3.07.0: external of_string : string -> int32 = "int32_of_string"
191
val to_string : int32 -> string
192
(** Alias for {!Int32.to_string} *)
194
val compare : t -> t -> int
195
(** Alias for {!Int32.compare} *)
198
external format : string -> int32 -> string = "caml_int32_format"
200
@BEGIN_BEFORE_3_08_0@
201
external format : string -> int32 -> string = "int32_format"
204
external format : string -> int32 -> string = "caml_int32_format"
205
@since 3.07.0: external format : string -> int32 -> string = "int32_format"