in a row because that clashes with the symbols used for
camlp4 quotations. *)
- val ( &&^ ) : t -> t -> t
- val ( ||^ ) : t -> t -> t
- val ( ^^^ ) : t -> t -> t
+ val ( &^ ) : t -> t -> t
+ val ( |^ ) : t -> t -> t
+ val ( ^^ ) : t -> t -> t
(** Infix logical and, or and xor operators.
- eg. [bits &&^ mask] *)
+ eg. [bits &^ mask] *)
val ( ~^ ) : int -> t
(** Small integer constants,
external ( %^ ) : int64 -> int64 -> int64 = "%int64_mod"
external ( <^< ) : int64 -> int -> int64 = "%int64_lsl"
external ( >^> ) : int64 -> int -> int64 = "%int64_lsr"
- external ( &&^ ) : int64 -> int64 -> int64 = "%int64_and"
- external ( ||^ ) : int64 -> int64 -> int64 = "%int64_or"
- external ( ^^^ ) : int64 -> int64 -> int64 = "%int64_xor"
+ external ( &^ ) : int64 -> int64 -> int64 = "%int64_and"
+ external ( |^ ) : int64 -> int64 -> int64 = "%int64_or"
+ external ( ^^ ) : int64 -> int64 -> int64 = "%int64_xor"
external ( ~^ ) : int -> int64 = "%int64_of_int"
let ( ~^~ ) i = Int64.neg (Int64.of_int i)
end
external ( %^ ) : int -> int -> int = "%modint"
external ( <^< ) : int -> int -> int = "%lslint"
external ( >^> ) : int -> int -> int = "%lsrint"
- external ( &&^ ) : int -> int -> int = "%andint"
- external ( ||^ ) : int -> int -> int = "%orint"
- external ( ^^^ ) : int -> int -> int = "%xorint"
+ external ( &^ ) : int -> int -> int = "%andint"
+ external ( |^ ) : int -> int -> int = "%orint"
+ external ( ^^ ) : int -> int -> int = "%xorint"
external ( ~^ ) : int -> int = "%identity"
external ( ~^~ ) : int -> int = "%negint"
end