Function Dune::XT::Common::FloatCmp::internal::float_cmp_eq¶
-
template<class T>
typename std::enable_if<is_arithmetic<T>::value, bool>::type Dune::XT::Common::FloatCmp::internal::float_cmp_eq(const T &xx, const T &yy, const T &rtol, const T &atol)¶ Taken from http://docs.pymor.org/en/latest/_modules/pymor/tools/floatcmp.html#float_cmp, https://github.com/numpy/numpy/blob/v1.9.1/numpy/core/numeric.py#L2238