Home
last modified time | relevance | path

Searched refs:nexttoward (Results 1 – 8 of 8) sorted by relevance

/ndk/sources/android/support/tests/
Dmath_unittest.cc15 TEST(math, nexttoward) { in TEST() argument
17 EXPECT_EQ(x, nexttoward(x, (long double)x)); in TEST()
18 EXPECT_GT(x, nexttoward(x, (long double)(x * 2.))); in TEST()
19 EXPECT_LT(x, nexttoward(x, (long double)(x - 1.0))); in TEST()
/ndk/tests/device/math/jni/
Dmath.c66 d = nexttoward(d, 0); in main()
Dmath.cpp66 d = nexttoward(d, 0); in main()
/ndk/sources/android/support/src/
Dmath_support.c42 __attribute__((weak)) double nexttoward(double d, long double td) { in nexttoward() function
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/
Dcmath.pass.cpp1132 …static_assert((std::is_same<decltype(std::nexttoward((float)0, (long double)0)), float>::value), "… in test_nexttoward()
1133 …static_assert((std::is_same<decltype(std::nexttoward((bool)0, (long double)0)), double>::value), "… in test_nexttoward()
1134 …static_assert((std::is_same<decltype(std::nexttoward((unsigned short)0, (long double)0)), double>:… in test_nexttoward()
1135 …static_assert((std::is_same<decltype(std::nexttoward((int)0, (long double)0)), double>::value), ""… in test_nexttoward()
1136 …static_assert((std::is_same<decltype(std::nexttoward((unsigned int)0, (long double)0)), double>::v… in test_nexttoward()
1137 …static_assert((std::is_same<decltype(std::nexttoward((long)0, (long double)0)), double>::value), "… in test_nexttoward()
1138 …static_assert((std::is_same<decltype(std::nexttoward((unsigned long)0, (long double)0)), double>::… in test_nexttoward()
1139 …static_assert((std::is_same<decltype(std::nexttoward((long long)0, (long double)0)), double>::valu… in test_nexttoward()
1140 …static_assert((std::is_same<decltype(std::nexttoward((unsigned long long)0, (long double)0)), doub… in test_nexttoward()
1141 …static_assert((std::is_same<decltype(std::nexttoward((double)0, (long double)0)), double>::value),… in test_nexttoward()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcmath260 floating_point nexttoward (arithmetic x, long double y);
1476 // nexttoward
1478 using ::nexttoward;
1481 inline _LIBCPP_INLINE_VISIBILITY float nexttoward(float __x, long double __y) _NOEXCEPT …
1482 inline _LIBCPP_INLINE_VISIBILITY long double nexttoward(long double __x, long double __y) _NOEXCEPT…
1487 nexttoward(_A1 __x, long double __y) _NOEXCEPT {return nexttoward((double)__x, __y);}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dmath_h.pass.cpp545 … static_assert((std::is_same<decltype(nexttoward((double)0, (long double)0)), double>::value), ""); in test_nexttoward()
548 assert(nexttoward(0, 1) == hexfloat<double>(0x1, 0, -1074)); in test_nexttoward()
/ndk/sources/cxx-stl/llvm-libc++/
Dexport_symbols.txt2272 nexttoward;