Type Alias Float

Source
pub type Float = f32;
Expand description

Alias of the f32 type, to be used through out the codebase anywhere a default sized Float is necessary.

Trait Implementations§

Source§

impl Number for Float

Source§

fn is_nan(self) -> bool

Returns true if this value is NaN. Read more
Source§

fn min_value() -> Self

Returns the smallest value this type can hold. Read more
Source§

fn max_value() -> Self

Returns the largest value this type can hold. Read more
Source§

fn max(self, other: Self) -> Self

Returns the maximum of self or other. No special care is taken for NaN and infinity. Read more
Source§

fn min(self, other: Self) -> Self

Returns the minimum of self or other. No special care is taken for NaN and infinity. Read more