Home
last modified time | relevance | path

Searched refs:infinity (Results 1 – 20 of 20) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/
Dinfinity.pass.cpp22 assert(std::numeric_limits<T>::infinity() == expected); in test()
23 assert(std::numeric_limits<const T>::infinity() == expected); in test()
24 assert(std::numeric_limits<volatile T>::infinity() == expected); in test()
25 assert(std::numeric_limits<const volatile T>::infinity() == expected); in test()
/ndk/tests/device/test-stlport/unit/
Dlimits_test.cpp169 const _Tp infinity = lim::infinity(); in test_float_limits() local
178 CHECK_COND(test_float_values(val, infinity)); in test_float_limits()
221 CHECK_COND(infinity == infinity); in test_float_limits()
222 CHECK_COND(infinity > lim::max()); in test_float_limits()
223 CHECK_COND(-infinity < -lim::max()); in test_float_limits()
Dnum_put_get_test.cpp90 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
101 CPPUNIT_CHECK( in_val_d != -limits::infinity() ); in check_get_float()
123 CPPUNIT_CHECK( in_val_d == limits::infinity() ); in check_get_float()
134 CPPUNIT_CHECK( in_val_d == -limits::infinity() ); in check_get_float()
169 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
192 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
215 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
221 str << limits::infinity(); in check_get_float()
229 str << -limits::infinity(); in check_get_float()
280 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
[all …]
Dnum_facets_test.cpp110 double infinity = limd::infinity(); in _num_put_get() local
112 nput.put(fostr, fostr, ' ', infinity); in _num_put_get()
/ndk/tests/device/test-gnustl-full/unit/
Dlimits_test.cpp169 const _Tp infinity = lim::infinity(); in test_float_limits() local
178 CHECK_COND(test_float_values(val, infinity)); in test_float_limits()
221 CHECK_COND(infinity == infinity); in test_float_limits()
222 CHECK_COND(infinity > lim::max()); in test_float_limits()
223 CHECK_COND(-infinity < -lim::max()); in test_float_limits()
Dnum_put_get_test.cpp90 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
101 CPPUNIT_CHECK( in_val_d != -limits::infinity() ); in check_get_float()
123 CPPUNIT_CHECK( in_val_d == limits::infinity() ); in check_get_float()
134 CPPUNIT_CHECK( in_val_d == -limits::infinity() ); in check_get_float()
169 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
192 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
215 CPPUNIT_CHECK( in_val_d != limits::infinity() ); in check_get_float()
221 str << limits::infinity(); in check_get_float()
229 str << -limits::infinity(); in check_get_float()
280 CPPUNIT_ASSERT( limits::infinity() > val ); in check_get_float()
[all …]
Dnum_facets_test.cpp110 double infinity = limd::infinity(); in _num_put_get() local
112 nput.put(fostr, fostr, ' ', infinity); in _num_put_get()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.exp/
Dmax.pass.cpp26 assert(m == std::numeric_limits<D::result_type>::infinity()); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dlimits.hpp75 static BOOST_LLT infinity() throw() { return 0; }; in infinity() function in std::numeric_limits
128 static BOOST_ULLT infinity() throw() { return 0; }; in infinity() function in std::numeric_limits
Dlexical_cast.hpp850 if( !has_minus ) value = std::numeric_limits<T>::infinity(); in parse_inf_nan_impl()
851 else value = (boost::math::changesign) (std::numeric_limits<T>::infinity()); in parse_inf_nan_impl()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_limits.h93 static __number _STLP_CALL infinity() _STLP_NOTHROW { return __number(); } in infinity() function
422 static float _STLP_CALL infinity() _STLP_NOTHROW { return _STLP_PRIV _LimG<bool>::get_F_inf(); } in infinity() function
453 static double _STLP_CALL infinity() _STLP_NOTHROW { return _STLP_PRIV _LimG<bool>::get_D_inf(); } in infinity() function
484 static long double _STLP_CALL infinity() _STLP_NOTHROW in infinity() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dlimits49 static constexpr T infinity() noexcept;
171 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type();}
231 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type(0);}
283 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return type(0);}
329 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __builtin_hug…
375 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __builtin_hug…
421 …_LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __builtin_hug…
471 …IBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __base::infinit…
564 …IBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __base::infinit…
657 …IBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR type infinity() _NOEXCEPT {return __base::infinit…
[all …]
Drandom4142 result_type max() const {return numeric_limits<result_type>::infinity();}
4264 result_type min() const {return -numeric_limits<result_type>::infinity();}
4266 result_type max() const {return numeric_limits<result_type>::infinity();}
4447 result_type max() const {return numeric_limits<result_type>::infinity();}
4792 result_type max() const {return numeric_limits<result_type>::infinity();}
4900 result_type min() const {return -numeric_limits<result_type>::infinity();}
4902 result_type max() const {return numeric_limits<result_type>::infinity();}
5023 result_type max() const {return numeric_limits<result_type>::infinity();}
5429 result_type max() const {return numeric_limits<result_type>::infinity();}
5536 result_type min() const {return -numeric_limits<result_type>::infinity();}
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dnum_get_float.cpp465 return limits::infinity(); in _Stl_atod()
572 return limits::infinity(); in _Stl_atodT()
727 x = limits::infinity(); in _Stl_string_to_double()
831 x = limits::infinity(); in _Stl_string_to_doubleT()
Dnum_put_float.cpp635 if (x == limits::infinity() || x == -limits::infinity()) { in __format_nan_or_inf()
770 (x == limits::infinity() || x == -limits::infinity())) {
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
Dfpclassify.hpp397 && ( x == std::numeric_limits<T>::infinity() in isinf_impl()
398 || x == -std::numeric_limits<T>::infinity()); in isinf_impl()
474 ? !(x <= std::numeric_limits<T>::infinity()) in isnan_impl()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits/
Ddefault.pass.cpp67 assert(std::numeric_limits<A>::infinity() == A()); in main()
/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc2682 RawType infinity; member
2716 values_.infinity = Floating::Infinity(); in SetUp()
2719 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2806 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity); in TEST_F()
2807 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity); in TEST_F()
2810 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, -values_.infinity), in TEST_F()
2815 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, values_.nan1), in TEST_F()
2840 EXPECT_FATAL_FAILURE(ASSERT_FLOAT_EQ(v.nan1, v.infinity), in TEST_F()
2849 ASSERT_FLOAT_EQ(values_.infinity, values_.infinity); in TEST_F()
2909 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity); in TEST_F()
[all …]
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk2038 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/infinity)
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk2047 $(call gen-test, language.support/support.limits/limits/numeric.limits.members/infinity)