Macro inari::const_dec_interval
source Β· macro_rules! const_dec_interval { ($a:expr, $b:expr) => { ... }; }
Expand description
Creates a DecInterval
from f64
bounds.
a
and b
must be constant f64
values. The result is a DecInterval
.
The macro can be used in constant expressions.
The usage is almost the same as the macro dec_interval!(a, b)
except that this macro returns a DecInterval
directly,
or results in a compilation error if the construction is invalid.