Searched refs:hypot (Results 1 - 25 of 59) sorted by relevance

123

/external/v8/test/mjsunit/es6/
H A 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("
[all...]
/external/dng_sdk/source/
H A Ddng_types.h103 // Visual Studio now prefers _hypot to hypot
104 // Note: since Visual Studio 2010, there is a definition of hypot (in math.h),
105 // we only define hypot here for the older Visual Studio versions.
109 #ifdef hypot
110 #undef hypot macro
113 #define hypot _hypot macro
H A Ddng_rect.h190 return hypot ((real64) W (),
333 return hypot (W (), H ());
/external/clang/test/CodeGen/
H A Dmandel.c41 if (hypot(__real__ z, __imag__ z) >= ESCAPE)
H A Dlibcall-declarations.c100 double hypot(double, double);
282 F(hypot), F(hypotf), F(hypotl), F(ilogb), F(ilogbf),
399 // CHECK-NOERRNO: declare double @hypot(double, double) [[NUW]]
/external/opencv3/3rdparty/openexr/Imath/
H A DImathMath.h119 static T hypot (T x, T y) {return ::hypot (double(x), double(y));} function in struct:Imath::Math
147 static float hypot (float x, float y) {return ::hypotf (x, y);} function in struct:Imath::Math
149 static float hypot (float x, float y) {return ::sqrtf(x*x + y*y);} function in struct:Imath::Math
/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
H A Dbinary_func.hpp69 CV_CUDEV_EXPR_BINARY_FUNC(hypot)
/external/opencv3/modules/core/include/opencv2/core/cuda/
H A 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,
[all...]
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
H A 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,
[all...]
/external/libvorbis/lib/
H A Dos.h61 # define FAST_HYPOT hypot
/external/v8/third_party/llvm-build/Release+Asserts/lib/clang/3.9.0/include/
H A D__clang_cuda_math_forward_declares.h97 __DEVICE__ double hypot(double, double);
98 __DEVICE__ float hypot(float, float);
214 using ::hypot;
H A Dtgmath.h825 // hypot
833 __tg_hypot(double __x, double __y) {return hypot(__x, __y);}
839 #undef hypot macro
840 #define hypot(__x, __y) __tg_hypot(__tg_promote2((__x), (__y))(__x), \ macro
/external/ImageMagick/MagickCore/
H A Dnt-base.h143 #if !defined(hypot)
144 # define hypot _hypot macro
H A Dgem.c1326 *chroma=hypot(255.0*(a-0.5),255.0*(b-0.5))/255.0+0.5;
1388 *chroma=hypot(354.0*u-134.0,262.0*v-140.0)/255.0+0.5;
/external/libcxx/test/std/numerics/c.math/
H A Dcmath.pass.cpp81 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } function
994 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), "");
995 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), "");
996 static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "");
997 static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), "");
998 static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), "");
999 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), "");
1000 static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::value), "");
1001 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), "");
1002 static_assert((std::is_same<decltype(std::hypot((in
[all...]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
H A DTouchZoomExampleActivity.java204 return (float) Math.hypot(x, y);
/external/eigen/Eigen/src/Eigen2Support/
H A DSVD.h318 Scalar t(numext::hypot(m_sigma[j],f));
347 Scalar t(numext::hypot(m_sigma[j],f));
395 Scalar t = numext::hypot(f,g);
413 t = numext::hypot(f,g);
/external/opencv3/modules/video/src/opencl/
H A Doptical_flow_tvl1.cl265 float g1 = hypot(u1x, u1y);
266 float g2 = hypot(u2x, u2y);
/external/v8/test/mjsunit/
H A Dto_number_order.js62 assertEquals(1/0, Math.hypot(a, b));
63 assertEquals("hestfisk", x, "hypot");
/external/bison/darwin-lib/
H A 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 macro
1376 _GL_WARN_ON_USE (hypotf, "hypot has portability problems - "
1377 "use gnulib module hypot for portability");
/external/bison/lib/
H A Dmath.in.h1052 # undef hypot macro
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); variable
1062 # undef hypot macro
1064 _GL_WARN_ON_USE (hypotf, "hypot has portability problems - "
1065 "use gnulib module hypot for portability");
/external/bison/linux-lib/
H A 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 macro
1376 _GL_WARN_ON_USE (hypotf, "hypot has portability problems - "
1377 "use gnulib module hypot for portability");
/external/clang/lib/Headers/
H A Dtgmath.h825 // hypot
833 __tg_hypot(double __x, double __y) {return hypot(__x, __y);}
839 #undef hypot macro
840 #define hypot(__x, __y) __tg_hypot(__tg_promote2((__x), (__y))(__x), \ macro
/external/eigen/Eigen/src/Core/
H A DMathFunctions.h281 * Implementation of hypot *
611 inline EIGEN_MATHFUNC_RETVAL(hypot, Scalar) hypot(const Scalar& x, const Scalar& y) function in namespace:Eigen::numext
613 return EIGEN_MATHFUNC_IMPL(hypot, Scalar)::run(x, y);
/external/opencv3/modules/objdetect/src/opencl/
H A Dobjdetect_hog.cl633 float4 mag = hypot(dx, dy);
710 float mag = hypot(dx, dy);

Completed in 780 milliseconds

123