Module Rel_query.Int64

64-bit integers.

val v : int64 -> int64 value

v i is the literal integer i.

val zero : int64 value

zero is v 0L.

val one : int64 value

one is v 1L.

Predicates and comparisons

val equal : int64 value -> int64 value -> bool value

equal x y is integer equality.

val (=) : int64 value -> int64 value -> bool value

x = y is integer equality.

Arithmetic operators

val (~-) : int64 value -> int64 value

~-x is the negation of x.

val (+) : int64 value -> int64 value -> int64 value

x + y is int64eger addition.

val (-) : int64 value -> int64 value -> int64 value

x + y is int64eger subtraction.

val (*) : int64 value -> int64 value -> int64 value

x * y is int64eger addition.

val (/) : int64 value -> int64 value -> int64 value

x / y is integer division.

Conversions

val of_bool : bool value -> int64 value

of_bool b is b as an int64 value.

val of_int : int value -> int64 value

of_int i is i as an int64 value. FIXME. Clarify conversion.

val of_float : float value -> int64 value

of_float f is f as an int64 value. FIXME. Clarify conversion.

val of_string : string value -> int64 value

of_string s converts s to string if s can't be parsed this results in 0.