Home
last modified time | relevance | path

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

123

/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/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp79 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
80 Ambiguous hypot(Ambiguous, Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
1039 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot()
1040 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot()
1041 …static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "… in test_hypot()
1042 …static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), ""… in test_hypot()
1043 … static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot()
1044 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot()
1045 …static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::… in test_hypot()
1046 static_assert((std::is_same<decltype(std::hypot((int)0, (long long)0)), double>::value), ""); in test_hypot()
[all …]
/external/libcxx/include/
Dcmath208 floating_point hypot (arithmetic x, arithmetic y);
212 double hypot(double x, double y, double z); // C++17
213 float hypot(float x, float y, float z); // C++17
214 long double hypot(long double x, long double y, long double z); // C++17
420 using ::hypot;
534 inline _LIBCPP_INLINE_VISIBILITY float hypot( float x, float y, float z ) {…
535 inline _LIBCPP_INLINE_VISIBILITY double hypot( double x, double y, double z ) {…
536 inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double x, long double y, long double z ) {…
547 hypot(_A1 __lcpp_x, _A2 __lcpp_y, _A3 __lcpp_z) _NOEXCEPT
553 return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
Dmath.h1173 inline _LIBCPP_INLINE_VISIBILITY float hypot(float __lcpp_x, float __lcpp_y) _NOEXCEPT … in hypot() function
1174 inline _LIBCPP_INLINE_VISIBILITY long double hypot(long double __lcpp_x, long double __lcpp_y) _NOE… in hypot() function
1184 hypot(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT in hypot() function
1189 return ::hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y); in hypot()
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h97 __DEVICE__ double hypot(double, double);
98 __DEVICE__ float hypot(float, float);
214 using ::hypot;
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/ltp/testcases/misc/math/float/
Dfloat_exp_log.c37 {FUNC_HYPOT, 50, hypot, "hypot", "hypot_inp.ref", "hypot_out.ref",
/external/python/cpython2/PC/
Dpyconfig.h231 #define hypot _hypot macro
285 #define hypot _hypot macro
/external/python/cpython2/Modules/
Dcmathmodule.c139 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) + in c_acos()
142 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) + in c_acos()
176 r.real = log(hypot(z.real/2., z.imag/2.)) + M_LN2*2.; in c_acosh()
228 r.real = copysign(log(hypot(z.real/2., z.imag/2.)) + in c_asinh()
231 r.real = -copysign(log(hypot(z.real/2., z.imag/2.)) + in c_asinh()
326 h = hypot(z.real/2., z.imag/2.); /* safe from overflow */ in c_atanh()
341 r.real = -log(sqrt(ay)/sqrt(hypot(ay, 2.))); in c_atanh()
537 r.real = log(hypot(ax/2., ay/2.)) + M_LN2; in c_log()
541 r.real = log(hypot(ldexp(ax, DBL_MANT_DIG), in c_log()
552 h = hypot(ax, ay); in c_log()
[all …]
/external/ImageMagick/MagickCore/
Dnt-base.h143 #if !defined(hypot)
144 # define hypot _hypot macro
/external/python/cpython2/Python/
Dpymath.c35 double hypot(double x, double y) in hypot() function
/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/ltp/testcases/misc/math/float/exp_log/
Dgenhypot.c54 tabR[i] = hypot(cos(Inc * i), sin(Inc * i)); in create_Result_file()
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp78 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
1037 static_assert((std::is_same<decltype(hypot((float)0, (float)0)), float>::value), ""); in test_hypot()
1038 static_assert((std::is_same<decltype(hypot((bool)0, (float)0)), double>::value), ""); in test_hypot()
1039 static_assert((std::is_same<decltype(hypot((unsigned short)0, (double)0)), double>::value), ""); in test_hypot()
1040 static_assert((std::is_same<decltype(hypot((int)0, (long double)0)), long double>::value), ""); in test_hypot()
1041 static_assert((std::is_same<decltype(hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot()
1042 static_assert((std::is_same<decltype(hypot((double)0, (long)0)), double>::value), ""); in test_hypot()
1043 …static_assert((std::is_same<decltype(hypot((long double)0, (unsigned long)0)), long double>::value… in test_hypot()
1044 static_assert((std::is_same<decltype(hypot((int)0, (long long)0)), double>::value), ""); in test_hypot()
1045 … static_assert((std::is_same<decltype(hypot((int)0, (unsigned long long)0)), double>::value), ""); in test_hypot()
[all …]
/external/python/cpython2/Include/
Dpymath.h26 extern double hypot(double, double);
/external/python/cpython2/Lib/test/
Dtest_math.py549 self.assertRaises(TypeError, math.hypot)
550 self.ftest('hypot(0,0)', math.hypot(0,0), 0)
551 self.ftest('hypot(3,4)', math.hypot(3,4), 5)
552 self.assertEqual(math.hypot(NAN, INF), INF)
553 self.assertEqual(math.hypot(INF, NAN), INF)
554 self.assertEqual(math.hypot(NAN, NINF), INF)
555 self.assertEqual(math.hypot(NINF, NAN), INF)
556 self.assertTrue(math.isnan(math.hypot(1.0, NAN)))
557 self.assertTrue(math.isnan(math.hypot(NAN, -2.0)))
/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/python/cpython2/Lib/
Dcollections.py720 def hypot(self): member in Point
723 return 'Point: x=%6.3f y=%6.3f hypot=%6.3f' % (self.x, self.y, self.hypot)
/external/eigen/test/
Dboostmultiprec.cpp110 using boost::math::hypot;
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DTouchZoomExampleActivity.java204 return (float) Math.hypot(x, y); in spacing()
/external/eigen/Eigen/src/Core/
DMathFunctions.h945 inline EIGEN_MATHFUNC_RETVAL(hypot, Scalar) hypot(const Scalar& x, const Scalar& y)
947 return EIGEN_MATHFUNC_IMPL(hypot, Scalar)::run(x, y);
1096 return ::hypot(x.real(), x.imag());

123