Searched refs:hypot (Results 1 – 6 of 6) sorted by relevance
/ndk/sources/cxx-stl/stlport/src/ |
D | complex.cpp | 41 { return ::hypot(__z._M_re, __z._M_im); } in abs() 44 { return ::hypot(__z._M_re, __z._M_im); } in abs() 49 { return ::hypot(__z._M_re, __z._M_im); } in abs() 170 _Tp mag = ::hypot(re, im); in sqrtT() 225 r._M_re = ::log10(::hypot(z._M_re, z._M_im)); in log10T() 256 r._M_re = ::log(::hypot(z._M_re, z._M_im)); in logT() 293 _Tp logr = ::log(::hypot(a._M_re,a._M_im)); in powT() 303 _Tp logr = ::log(::hypot(a._M_re,a._M_im)); in powT()
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
D | _cmath.h | 53 extern "C" double hypot(double x, double y); 383 _STLP_DMATH_INLINE2(hypot) in _STLP_DMATH_INLINE() 497 _STLP_MATH_INLINE2XX(float, hypot, hypot) in _STLP_MATH_INLINE2XX() argument 498 inline long double hypot(long double x, long double y) { return sqrt(x * x + y * y); } in _STLP_MATH_INLINE2XX() 504 inline double hypot(double x, double y) { return sqrt(x * x + y * y); } in hypot() function 505 _STLP_DEF_MATH_INLINE2(hypot, hypot) in _STLP_DEF_MATH_INLINE2() argument 508 inline double hypot(double __x, double __y) { return _hypot(__x,__y); } in _STLP_DEF_MATH_INLINE2() 509 _STLP_DEF_MATH_INLINE2(hypot, _hypot) 574 using ::hypot;
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/c.math/ |
D | cmath.pass.cpp | 880 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot() 881 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot() 882 …static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "… in test_hypot() 883 …static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), ""… in test_hypot() 884 … static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot() 885 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot() 886 …static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::… in test_hypot() 887 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), ""); in test_hypot() 888 …static_assert((std::is_same<decltype(std::hypot((int)0, (unsigned long long)0)), double>::value), … in test_hypot() 889 static_assert((std::is_same<decltype(std::hypot((double)0, (double)0)), double>::value), ""); in test_hypot() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/include/ |
D | cmath | 208 floating_point hypot (arithmetic x, arithmetic y); 1286 // hypot 1288 using ::hypot; 1291 inline _LIBCPP_INLINE_VISIBILITY float hypot(float __x, float __y) _NOEXCEPT {ret… 1292 inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __x, long double __y) _NOEXCEPT {ret… 1302 hypot(_A1 __x, _A2 __y) _NOEXCEPT 1307 return hypot((__result_type)__x, (__result_type)__y);
|
D | complex | 885 return hypot(__c.real(), __c.imag());
|
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.c.headers/ |
D | math_h.pass.cpp | 435 static_assert((std::is_same<decltype(hypot((double)0, (double)0)), double>::value), ""); in test_hypot() 438 assert(hypot(3,4) == 5); in test_hypot()
|