Macro inari::const_interval [−][src]
macro_rules! const_interval { ($a : expr, $b : expr) => { ... }; }
Expand description
Creates an Interval
from f64
bounds.
It can be used in constant expressions.
The usage is almost the same as the macro interval!(a, b)
,
except that const_interval!(a, b)
returns an Interval
or results in a compilation error if the construction is invalid.