Skip to main content

in_domain

Function in_domain 

Source
pub fn in_domain(v: f64) -> bool
Expand description

Is v a legal value for a continuous site?

Non-finite fails: NaN compares false against every bound, and an infinity is exactly the runaway this gate exists to stop.