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