Home
last modified time | relevance | path

Searched refs:hypot (Results 1 – 25 of 33) sorted by relevance

12

/external/chromium_org/v8/test/mjsunit/es6/
Dmath-hypot.js28 assertTrue(isNaN(Math.hypot({})));
29 assertTrue(isNaN(Math.hypot(undefined, 1)));
30 assertTrue(isNaN(Math.hypot(1, undefined)));
31 assertTrue(isNaN(Math.hypot(Math.hypot, 1)));
32 assertEquals(1, Math.hypot(1));
33 assertEquals(Math.PI, Math.hypot(Math.PI));
34 assertEquals(5, Math.hypot(3, 4));
35 assertEquals(13, Math.hypot(3, 4, 12));
36 assertEquals(15, Math.hypot(" 2 ",
39 assertEquals(17, Math.hypot({ valueOf: function() { return 1; } },
[all …]
/external/stlport/src/
Dcomplex.cpp41 { 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()
/external/stlport/stlport/stl/
D_cmath.h53 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;
/external/clang/test/CodeGen/
Dmandel.c41 if (hypot(__real__ z, __imag__ z) >= ESCAPE) in mandel()
Dlibcall-declarations.c100 double hypot(double, double);
282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
/external/chromium_org/ui/events/gesture_detection/
Dsnap_scroll_controller.cc24 std::abs(hypot(static_cast<float>(display.bounds().width()), in CalculateChannelDistance()
/external/libvorbis/lib/
Dos.h61 # define FAST_HYPOT hypot
/external/libcxx/test/numerics/c.math/
Dcmath.disabled.cpp893 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot()
894 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot()
895 …static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "… in test_hypot()
896 …static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), ""… in test_hypot()
897 … static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot()
898 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot()
899 …static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::… in test_hypot()
900 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), ""); in test_hypot()
901 …static_assert((std::is_same<decltype(std::hypot((int)0, (unsigned long long)0)), double>::value), … in test_hypot()
902 static_assert((std::is_same<decltype(std::hypot((double)0, (double)0)), double>::value), ""); in test_hypot()
[all …]
/external/eigen/Eigen/src/Eigen2Support/
DSVD.h318 Scalar t(numext::hypot(m_sigma[j],f)); in compute()
347 Scalar t(numext::hypot(m_sigma[j],f)); in compute()
395 Scalar t = numext::hypot(f,g); in compute()
413 t = numext::hypot(f,g); in compute()
/external/chromium_org/mojo/examples/sample_app/
Dgles2_client_impl.cc21 return hypot(static_cast<float>(start.x - end.x), in CalculateDragDistance()
/external/bison/linux-lib/
Dmath.h1364 # undef hypot
1365 # define hypot rpl_hypot
1367 _GL_FUNCDECL_RPL (hypot, double, (double x, double y));
1368 _GL_CXXALIAS_RPL (hypot, double, (double x, double y));
1370 _GL_CXXALIAS_SYS (hypot, double, (double x, double y));
1372 _GL_CXXALIASWARN (hypot);
1374 # undef hypot
/external/bison/lib/
Dmath.in.h1052 # undef hypot
1053 # define hypot rpl_hypot macro
1055 _GL_FUNCDECL_RPL (hypot, double, (double x, double y));
1056 _GL_CXXALIAS_RPL (hypot, double, (double x, double y));
1058 _GL_CXXALIAS_SYS (hypot, double, (double x, double y));
1060 _GL_CXXALIASWARN (hypot);
1062 # undef hypot
/external/bison/darwin-lib/
Dmath.h1364 # undef hypot
1365 # define hypot rpl_hypot
1367 _GL_FUNCDECL_RPL (hypot, double, (double x, double y));
1368 _GL_CXXALIAS_RPL (hypot, double, (double x, double y));
1370 _GL_CXXALIAS_SYS (hypot, double, (double x, double y));
1372 _GL_CXXALIASWARN (hypot);
1374 # undef hypot
/external/eigen/Eigen/src/Core/
DMathFunctions.h611 inline EIGEN_MATHFUNC_RETVAL(hypot, Scalar) hypot(const Scalar& x, const Scalar& y)
613 return EIGEN_MATHFUNC_IMPL(hypot, Scalar)::run(x, y);
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/
Dmath.pxd38 double hypot(double x, double y)
/external/clang/lib/Headers/
Dtgmath.h833 __tg_hypot(double __x, double __y) {return hypot(__x, __y);} in __tg_hypot()
839 #undef hypot
840 #define hypot(__x, __y) __tg_hypot(__tg_promote2((__x), (__y))(__x), \ macro
/external/libcxx/include/
Dcmath208 floating_point hypot (arithmetic x, arithmetic y);
1283 // hypot
1285 using ::hypot;
1288 inline _LIBCPP_INLINE_VISIBILITY float hypot(float __x, float __y) _NOEXCEPT {ret…
1289 inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __x, long double __y) _NOEXCEPT {ret…
1299 hypot(_A1 __x, _A2 __y) _NOEXCEPT
1304 return hypot((__result_type)__x, (__result_type)__y);
/external/ltrace/etc/
Dlibm.so.conf360 double hypot(double, double);
/external/libcxx/test/depr/depr.c.headers/
Dmath_h.disabled.cpp435 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()
/external/chromium_org/v8/test/webkit/fast/js/
DObject-getOwnPropertyNames-expected.txt84 …brt', 'ceil', 'clz32', 'cos', 'cosh', 'exp', 'expm1', 'floor', 'fround', 'hypot', 'imul', 'log', '…
/external/eigen/Eigen/src/Eigenvalues/
DSelfAdjointEigenSolver.h756 RealScalar h = numext::hypot(td,e);
/external/proguard/src/proguard/gui/
Ddefault.pro90 public static double hypot(double,double);
Dboilerplate.pro151 public static double hypot(double,double);
/external/eigen/Eigen/src/SVD/
DJacobiSVD.h434 RealScalar t2d2 = numext::hypot(t,d);
/external/eigen/unsupported/test/mpreal/
Dmpreal.h378 …friend const mpreal hypot (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode = mpreal::get_defau…
2126 inline const mpreal hypot (const mpreal& x, const mpreal& y, mp_rnd_t rnd_mode)

12