Template Function wt::assert_iszero

Function Documentation

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

Asserts that expression is 0, up to fp tolerance.