[Home] Module Microsoft.FSharp.Core.Int64


Basic operations on 64-bit integers. The type int64 is identical to [[System.Int64]].

Values

ValueDescription
val abs : int64 -> int64
Returns the absolute value of the argument
val add : int64 -> int64 -> int64
Returns the sum of a and b
val bits_of_float : float -> int64
Converts a 64-bit float to a raw 64-bit representation
val compare : int64 -> int64 -> int
Compares a and b and returns 1 if a > b, -1 if b < a and 0 if a = b
val div : int64 -> int64 -> int64
Returns a divided by b
val float_of_bits : int64 -> float
Converts a raw 64-bit representation to a 64-bit float
val logand : int64 -> int64 -> int64
Combines the binary representation of a and b by bitwise and
val lognot : int64 -> int64
Returns the bitwise logical negation of a
val logor : int64 -> int64 -> int64
Combines the binary representation of a and b by bitwise or
val logxor : int64 -> int64 -> int64
Combines the binary representation of a and b by bitwise xor
val max_int : int64
Returns the largest 64-bit signed integer
val min_int : int64
Returns the smallest 64-bit signed integer
val minus_one : int64
The value minus one as a System.Int64
val mul : int64 -> int64 -> int64
Returns a multiplied by b
val neg : int64 -> int64
Returns -a
val of_float : float -> int64
Converts a 64-bit float to a 64-bit integer
val of_float32 : float32 -> int64
Converts a 32-bit float to a 64-bit integer
val of_int : int -> int64
Converts a 32-bit integer to a 64-bit integer
val of_int32 : int32 -> int64
Converts a 32-bit integer to a 64-bit integer
val of_nativeint : nativeint -> int64
Converts a native integer to a 64-bit integer
val of_string : string -> int64
Converts a string to a 64-bit integer
val of_uint64 : uint64 -> int64
Converts an unsigned 64-bit integer to a 64-bit integer
val one : int64
The value one as a System.Int64
val pred : int64 -> int64
Returns the predeccessor of the argument
val rem : int64 -> int64 -> int64
Returns the remainder of a divided by b
val shift_left : int64 -> int -> int64
Shifts the binary representation a by n bits to the left
val shift_right : int64 -> int -> int64
Shifts the binary representation a by n bits to the right; high-order empty bits are set to the sign bit
val shift_right_logical : int64 -> int -> int64
Shifts the binary representation a by n bits to the right; high-order bits are zero-filled
val sub : int64 -> int64 -> int64
Returns a minus b
val succ : int64 -> int64
Returns the successor of the argument
val to_float : int64 -> float
Converts a 64-bit integer to a 64-bit float
val to_float32 : int64 -> float32
Converts a 64-bit integer to a 32-bit float
val to_int : int64 -> int
Converts a 64-bit integer to a 32-bit integer
val to_int32 : int64 -> int32
Converts a 64-bit integer to a 32-bit integer
val to_nativeint : int64 -> nativeint
Converts a 64-bit integer to a native integer
val to_string : int64 -> string
Converts a 64-bit integer to a string
val to_uint64 : int64 -> uint64
Converts a 64-bit integer to an unsigned 64-bit integer
val zero : int64
The value zero as a System.Int64

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19