Module l_system_fractals::num_validity
source · Expand description
Functions to screen out NaN and ±∞, as well as test for near equality.
Traits§
- A type of which two objects can be “almost equal” (i.e., have a distance less than ε).
Functions§
- Raises an error if the value is either NaN or ±∞.
- Returns
true
if value is neither NaN nor ±∞. - Returns the maximum value of the slice ignoring any values that are NaN or infinite.
- Returns the minimum value of the slice ignoring any values that are NaN or infinite.