[Home] Module Microsoft.FSharp.Core.Float


ML-like operations on 64-bit System.Double floating point numbers.

Values

ValueDescription
val add : float -> float -> float
Returns the sum of a and b
val compare : float -> float -> int
Compares a and b and returns 1 if a > b, -1 if b < a and 0 if a = b
val div : float -> float -> float
Returns a divided by b
val mul : float -> float -> float
Returns a multiplied by b
val neg : float -> float
Returns -a
val of_bits : int64 -> float
Converts a raw 64-bit representation to a 64-bit float
val of_float32 : float32 -> float
Converts a 32-bit float to a 64-bit float
val of_int : int -> float
Converts a 32-bit integer to a 64-bit float
val of_int32 : int32 -> float
Converts a 32-bit integer to a 64-bit float
val of_int64 : int64 -> float
Converts a 64-bit integer to a 64-bit float
val of_string : string -> float
Converts a string to a 64-bit float
val sub : float -> float -> float
Returns a minus b
val to_bits : float -> int64
Converts a 64-bit float to raw 64-bit representation
val to_float32 : float -> float32
Converts a 64-bit float to a 32-bit float
val to_int : float -> int
Converts a 64-bit float to a 32-bit integer
val to_int32 : float -> int32
Converts a 64-bit float to a 32-bit integer
val to_int64 : float -> int64
Converts a 64-bit float to a 64-bit integer
val to_string : float -> string
Converts a 64-bit float to a string

See Also

Microsoft.FSharp.Core


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