Module CCInt64

module CCInt64: sig .. end

Int64

Helpers for in64.
Since 0.13


type t = int64 
val (+) : t -> t -> t
val (-) : t -> t -> t
val (~-) : t -> t
val ( * ) : t -> t -> t
val (/) : t -> t -> t
val (mod) : t -> t -> t
val abs : t -> t
val max_int : t
val min_int : t
val (land) : t -> t -> t
val (lor) : t -> t -> t
val (lxor) : t -> t -> t
val lnot : t -> t
val (lsl) : t -> int -> t
val (lsr) : t -> int -> t
val (asr) : t -> int -> t
val equal : t -> t -> bool
val compare : t -> t -> int
val hash : t -> int

Conversion


val to_int : t -> int
val of_int : int -> t option
val of_int_exn : int -> t
Alias to Int64.of_int
Raises Failure in case of failure
val to_int32 : t -> int32
val of_int32 : int32 -> t option
val of_int32_exn : int32 -> t
Alias to Int64.of_int32
Raises Failure in case of failure
val to_nativeint : t -> nativeint
val of_nativeint : nativeint -> t option
val of_nativeint_exn : nativeint -> t
Alias to Int64.of_nativeint
Raises Failure in case of failure
val to_float : t -> float
val of_float : float -> t option
val of_float_exn : float -> t
Alias to Int64.of_float
Raises Failure in case of failure
val to_string : t -> string
val of_string : string -> t option
val of_string_exn : string -> t