f64

typef64

The 64-bit floating point type

functionabs(self: f64) f64

Computes the absolute value of self.

functionceil(self: f64) f64

Returns the smallest integer greater than or equal to self.

functionfloor(self: f64) f64

Returns the smallest integer greater than or equal to self.

functionis_finite(self: f64) bool

Returns true if this number is neither infinite nor NaN.

functionis_infinite(self: f64) bool

Returns true if this value is positive infinity or negative infinity, and false otherwise.

functionis_nan(self: f64) bool

Returns true if this value is NaN.

functionpow(self: f64, exp: f64) f64

Raises a number to a floating point power.

functionround(self: f64) f64

Returns the nearest integer to self. If a value is half-way between two integers, round away from 0.0.

functionsqrt(self: f64) f64

Returns the square root of a number.

functionto_string(self: f64) String

Convert this value into a String