Float64

GitHub   Edit on GitHub

Operations on the Float64 type.

1
import Float64 from "float64"

Values

Float64.fromNumber

1
fromNumber : Number -> Float64

Coverts the argument from a Number to a Float64.

Float64.toNumber

1
toNumber : Float64 -> Number

Converts the argument from a Float64 to a Number.

Float64.add

1
add : (Float64, Float64) -> Float64

Floating-point addition.

Float64.sub

1
sub : (Float64, Float64) -> Float64

Floating-point subtraction.

Float64.mul

1
mul : (Float64, Float64) -> Float64

Floating-point multiplication.

Float64.div

1
div : (Float64, Float64) -> Float64

Floating-point division.

Float64.gt

1
gt : (Float64, Float64) -> Bool

Checks if the first argument is strictly greater than the second argument.

Float64.gte

1
gte : (Float64, Float64) -> Bool

Checks if the first argument is greater than or equal to the second argument.

Float64.lt

1
lt : (Float64, Float64) -> Bool

Checks if the first argument is strictly less than the second argument.

Float64.lte

1
lte : (Float64, Float64) -> Bool

Checks if the first argument is less than or equal to the second argument.

This is a notification!