Skip to main content

positive_finite

Function positive_finite 

Source
pub fn positive_finite(x: f64) -> bool
Expand description

True only for a strictly-positive, finite x. All family selectors gate on this and return 0.0 otherwise, so x <= 0, NaN, and ±inf all fold to the zero magnitude without special-casing each node.