Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcomplex604 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a);
605 __b = copysign(isinf(__b) ? _Tp(1) : _Tp(0), __b);
607 __c = copysign(_Tp(0), __c);
609 __d = copysign(_Tp(0), __d);
614 __c = copysign(isinf(__c) ? _Tp(1) : _Tp(0), __c);
615 __d = copysign(isinf(__d) ? _Tp(1) : _Tp(0), __d);
617 __a = copysign(_Tp(0), __a);
619 __b = copysign(_Tp(0), __b);
626 __a = copysign(_Tp(0), __a);
628 __b = copysign(_Tp(0), __b);
[all …]
Dcmath172 floating_point copysign (arithmetic x, arithmetic y);
1107 // copysign
1109 using ::copysign;
1112 inline _LIBCPP_INLINE_VISIBILITY float copysign(float __x, float __y) _NOEXCEPT {…
1113 inline _LIBCPP_INLINE_VISIBILITY long double copysign(long double __x, long double __y) _NOEXCEPT {…
1123 copysign(_A1 __x, _A2 __y) _NOEXCEPT
1128 return copysign((__result_type)__x, (__result_type)__y);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dmath_win32.h100 _LIBCPP_ALWAYS_INLINE double copysign( double x, double y ) in copysign() function
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
Dsign.hpp133 inline T copysign BOOST_NO_MACRO_EXPAND(const T& x, const T& y) in BOOST_NO_MACRO_EXPAND()
Dmath_fwd.hpp699 T copysign BOOST_NO_MACRO_EXPAND(const T& x, const T& y);
1154 using boost::math::copysign;\
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/
Dcmath.pass.cpp704 static_assert((std::is_same<decltype(std::copysign((float)0, (float)0)), float>::value), ""); in test_copysign()
705 static_assert((std::is_same<decltype(std::copysign((bool)0, (float)0)), double>::value), ""); in test_copysign()
706 …static_assert((std::is_same<decltype(std::copysign((unsigned short)0, (double)0)), double>::value)… in test_copysign()
707 …static_assert((std::is_same<decltype(std::copysign((int)0, (long double)0)), long double>::value),… in test_copysign()
708 …static_assert((std::is_same<decltype(std::copysign((float)0, (unsigned int)0)), double>::value), "… in test_copysign()
709 static_assert((std::is_same<decltype(std::copysign((double)0, (long)0)), double>::value), ""); in test_copysign()
710 …static_assert((std::is_same<decltype(std::copysign((long double)0, (unsigned long)0)), long double… in test_copysign()
711 static_assert((std::is_same<decltype(std::copysign((int)0, (long long)0)), double>::value), ""); in test_copysign()
712 …static_assert((std::is_same<decltype(std::copysign((int)0, (unsigned long long)0)), double>::value… in test_copysign()
713 static_assert((std::is_same<decltype(std::copysign((double)0, (double)0)), double>::value), ""); in test_copysign()
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp136 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_nan()
181 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && copysign(1., x) < 0 ; } in _Stl_is_neg_nan()
186 static bool _Stl_is_neg_inf(double x) { return _Stl_is_inf(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_inf()
187 static bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_nan()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dmath_h.pass.cpp370 static_assert((std::is_same<decltype(copysign((double)0, (double)0)), double>::value), ""); in test_copysign()
373 assert(copysign(1,1) == 1); in test_copysign()