Home
last modified time | relevance | path

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

12

/external/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/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_math.hpp792 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, uchar, float)
793 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, char, float)
794 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, ushort, float)
795 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, short, float)
796 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, uint, float)
797 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, int, float)
798 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, float, float)
799 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypot, double, double)
892 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(hypot, ::hypotf, uchar, float, float)
893 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(hypot, ::hypot, uchar, double, double)
[all …]
Dfunctional.hpp520 OPENCV_CUDA_IMPLEMENT_BIN_FUNCTOR(hypot, ::hypot)
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_math.hpp803 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, uchar, float)
804 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, char, float)
805 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, ushort, float)
806 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, short, float)
807 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, uint, float)
808 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, int, float)
809 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypotf, float, float)
810 CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(hypot, ::hypot, double, double)
903 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(hypot, ::hypotf, uchar, float, float)
904 CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(hypot, ::hypot, uchar, double, double)
[all …]
/external/dng_sdk/source/
Ddng_types.h109 #ifdef hypot
110 #undef hypot
113 #define hypot _hypot macro
Ddng_rect.h190 return hypot ((real64) W (), in Diagonal()
333 return hypot (W (), H ()); in Diagonal()
/external/opencv3/3rdparty/openexr/Imath/
DImathMath.h119 static T hypot (T x, T y) {return ::hypot (double(x), double(y));} in hypot() function
147 static float hypot (float x, float y) {return ::hypotf (x, y);}
149 static float hypot (float x, float y) {return ::sqrtf(x*x + y*y);}
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
Dbinary_func.hpp69 CV_CUDEV_EXPR_BINARY_FUNC(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/libvorbis/lib/
Dos.h61 # define FAST_HYPOT hypot
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp81 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
994 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot()
995 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot()
996 …static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "… in test_hypot()
997 …static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), ""… in test_hypot()
998 … static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot()
999 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot()
1000 …static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::… in test_hypot()
1001 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), ""); in test_hypot()
1002 …static_assert((std::is_same<decltype(std::hypot((int)0, (unsigned long long)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/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/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/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/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java204 return (float) Math.hypot(x, y); in spacing()
/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);
1295 // hypot
1297 using ::hypot;
1300 inline _LIBCPP_INLINE_VISIBILITY float hypot(float __lcpp_x, float __lcpp_y) _NOEXCEPT …
1301 inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __lcpp_x, long double __lcpp_y) _NOE…
1311 hypot(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT
1316 return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y);
/external/opencv3/modules/video/src/opencl/
Doptical_flow_tvl1.cl265 float g1 = hypot(u1x, u1y);
266 float g2 = hypot(u2x, u2y);
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp608 CV_CUDEV_BINARY_FUNCTION_INST(hypot, ::hypot)
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp437 static_assert((std::is_same<decltype(hypot((double)0, (double)0)), double>::value), ""); in test_hypot()
440 assert(hypot(3,4) == 5); in test_hypot()
/external/ltrace/etc/
Dlibm.so.conf360 double hypot(double, double);
/external/opencv3/modules/core/src/
Dlapack.cpp73 template<typename _Tp> static inline _Tp hypot(_Tp a, _Tp b) in hypot() function
161 _Tp t = std::abs(y) + hypot(p, y); in JacobiImpl_()
162 _Tp s = hypot(p, t); in JacobiImpl_()
439 double beta = a - b, gamma = hypot((double)p, beta); in JacobiSVDImpl_()

12