Home
last modified time | relevance | path

Searched refs:epsilon (Results 1 – 15 of 15) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
Depsilon.pass.cpp22 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()
/ndk/tests/device/test-gnustl-full/unit/
Dmath_aux.h21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
Dnum_put_get_test.cpp58 float epsilon = numeric_limits<float>::epsilon(); in check_float() local
59 return val <= ref + epsilon && val >= ref - epsilon; in check_float()
64 double epsilon = numeric_limits<double>::epsilon(); in check_double() local
65 return val <= ref + epsilon && val >= ref - epsilon; in check_double()
Dlimits_test.cpp134 CHECK_COND(lim::epsilon() > 0); in test_float_limits()
/ndk/tests/device/test-stlport/unit/
Dmath_aux.h21 return (ref - val) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
24 return (val - ref) <= __STD numeric_limits<_Tp>::epsilon(); in are_equals()
Dnum_put_get_test.cpp58 float epsilon = numeric_limits<float>::epsilon(); in check_float() local
59 return val <= ref + epsilon && val >= ref - epsilon; in check_float()
64 double epsilon = numeric_limits<double>::epsilon(); in check_double() local
65 return val <= ref + epsilon && val >= ref - epsilon; in check_double()
Dlimits_test.cpp134 CHECK_COND(lim::epsilon() > 0); in test_float_limits()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlimits.hpp62 static BOOST_LLT epsilon() throw() { return 0; }; in epsilon() function in std::numeric_limits
115 static BOOST_ULLT epsilon() throw() { return 0; }; in epsilon() function in std::numeric_limits
Dlexical_cast.hpp2172 const source_type eps = std::numeric_limits<source_type>::epsilon(); in nearbyint()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_limits.h90 static __number _STLP_CALL epsilon() _STLP_NOTHROW { return __number(); } in epsilon() function
420 static float _STLP_CALL epsilon() _STLP_NOTHROW { return FLT_EPSILON; } in epsilon() function
451 static double _STLP_CALL epsilon() _STLP_NOTHROW { return DBL_EPSILON; } in epsilon() function
482 static long double _STLP_CALL epsilon() _STLP_NOTHROW { return LDBL_EPSILON; } in epsilon() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dlimits36 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 …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits/
Ddefault.pass.cpp47 assert(std::numeric_limits<A>::epsilon() == A()); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/policies/
Dpolicy.hpp38 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()
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk2041 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/epsilon)
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk2032 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/epsilon)