Template Function wt::assert_isnotzero

Function Documentation

template<FloatingPoint Fp>
inline void wt::assert_isnotzero(Fp expression, Fp tolerance_scale = Fp(1)) noexcept

Asserts that expression is NOT 0, up to fp tolerance.