type Float = f32;
Alias of the f32
type, to be used through out the codebase anywhere a default sized
Float
is necessary.
Returns true if this value is NaN. # Examples ``` use pbrt::core::geometry::Number; use pbrt::float::NAN; use pbrt::Float; Read more
Returns the smallest value this type can hold. Read more
Returns the largest value this type can hold. Read more
fn max(self, other: Self) -> Self
[src]
Returns the maximum of self or other. No special care is taken for NaN and infinity. Read more
fn min(self, other: Self) -> Self
[src]
Returns the minimum of self or other. No special care is taken for NaN and infinity. Read more