[−][src]Macro chek::not_almost_zero
Panics if the provided value is almost equal to zero.
Uses the almost
crate.
See the almost::zero
documentation
for more details.
A debug-only version is available as chek::debug_not_almost_zero!
.
Optionally may take an additional message to display on failure, which is formatted using standard format syntax.
Example
chek::not_almost_zero!(100.0); chek::not_almost_zero!(0.1, "Some message goes here");