Searched refs:epsilon (Results 1 – 15 of 15) sorted by relevance
22 assert(std::numeric_limits<T>::epsilon() == expected); in test()23 assert(std::numeric_limits<const T>::epsilon() == expected); in test()24 assert(std::numeric_limits<volatile T>::epsilon() == expected); in test()25 assert(std::numeric_limits<const volatile T>::epsilon() == expected); in test()
21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
58 float epsilon = numeric_limits<float>::epsilon(); in check_float() local59 return val <= ref + epsilon && val >= ref - epsilon; in check_float()64 double epsilon = numeric_limits<double>::epsilon(); in check_double() local65 return val <= ref + epsilon && val >= ref - epsilon; in check_double()
134 CHECK_COND(lim::epsilon() > 0); in test_float_limits()
62 static BOOST_LLT epsilon() throw() { return 0; }; in epsilon() function in std::numeric_limits115 static BOOST_ULLT epsilon() throw() { return 0; }; in epsilon() function in std::numeric_limits
2172 const source_type eps = std::numeric_limits<source_type>::epsilon(); in nearbyint()
90 static __number _STLP_CALL epsilon() _STLP_NOTHROW { return __number(); } in epsilon() function420 static float _STLP_CALL epsilon() _STLP_NOTHROW { return FLT_EPSILON; } in epsilon() function451 static double _STLP_CALL epsilon() _STLP_NOTHROW { return DBL_EPSILON; } in epsilon() function482 static long double _STLP_CALL epsilon() _STLP_NOTHROW { return LDBL_EPSILON; } in epsilon() function
36 static constexpr T epsilon() noexcept;158 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type();}218 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type(0);}270 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return type(0);}316 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __FLT_EPSILON_…362 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __DBL_EPSILON_…408 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __LDBL_EPSILON…458 …LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __base::epsilon…551 …LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __base::epsilon…644 …LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type epsilon() _NOEXCEPT {return __base::epsilon…[all …]
47 assert(std::numeric_limits<A>::epsilon() == A()); in main()
38 T epsilon(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T));875 return boost::math::tools::epsilon<T>(); in get()892 return boost::math::tools::epsilon<T>(); in get()915 return tools::epsilon<T>(); in get_epsilon_imp()
2041 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/epsilon)
2032 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/epsilon)