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