f64

typef64

The 64-bit floating point type.

methodabs(self: f64) f64

Computes the absolute value of self.

methodceil(self: f64) f64

Returns the smallest integer greater than or equal to self.

methodfloor(self: f64) f64

Returns the smallest integer greater than or equal to self.

methodis_finite(self: f64) bool

Returns true if this number is neither infinite nor NaN.

methodis_infinite(self: f64) bool

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

methodis_nan(self: f64) bool

Returns true if this value is NaN.

methodpow(self: f64, exp: f64) f64

Raises a number to a floating point power.

methodround(self: f64) f64

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

methodsqrt(self: f64) f64

Returns the square root of a number.

methodto_string(self: f64) String

Convert this value into a String.