Home
last modified time | relevance | path

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

1234

/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.cpp80 Ambiguous hypot(Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
81 Ambiguous hypot(Ambiguous, Ambiguous, Ambiguous){ return Ambiguous(); } in hypot() function
1072 static_assert((std::is_same<decltype(std::hypot((float)0, (float)0)), float>::value), ""); in test_hypot()
1073 static_assert((std::is_same<decltype(std::hypot((bool)0, (float)0)), double>::value), ""); in test_hypot()
1074 …static_assert((std::is_same<decltype(std::hypot((unsigned short)0, (double)0)), double>::value), "… in test_hypot()
1075 …static_assert((std::is_same<decltype(std::hypot((int)0, (long double)0)), long double>::value), ""… in test_hypot()
1076 … static_assert((std::is_same<decltype(std::hypot((float)0, (unsigned int)0)), double>::value), ""); in test_hypot()
1077 static_assert((std::is_same<decltype(std::hypot((double)0, (long)0)), double>::value), ""); in test_hypot()
1078 …static_assert((std::is_same<decltype(std::hypot((long double)0, (unsigned long)0)), long double>::… in test_hypot()
1079 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
417 using ::hypot;
526 inline _LIBCPP_INLINE_VISIBILITY float hypot( float x, float y, float z ) {…
527 inline _LIBCPP_INLINE_VISIBILITY double hypot( double x, double y, double z ) {…
528 inline _LIBCPP_INLINE_VISIBILITY long double hypot( long double x, long double y, long double z ) {…
539 hypot(_A1 __lcpp_x, _A2 __lcpp_y, _A3 __lcpp_z) _NOEXCEPT
545 return hypot((__result_type)__lcpp_x, (__result_type)__lcpp_y, (__result_type)__lcpp_z);
/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/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/python/cpython3/Modules/
Dcmathmodule.c231 r.imag = -copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl()
234 r.imag = copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_acos_impl()
270 r.real = log(hypot(z.real/2., z.imag/2.)) + M_LN2*2.; in cmath_acosh_impl()
325 r.real = copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_asinh_impl()
328 r.real = -copysign(log(hypot(z.real/2., z.imag/2.)) + in cmath_asinh_impl()
427 h = hypot(z.real/2., z.imag/2.); /* safe from overflow */ in cmath_atanh_impl()
442 r.real = -log(sqrt(ay)/sqrt(hypot(ay, 2.))); in cmath_atanh_impl()
638 r.real = log(hypot(ax/2., ay/2.)) + M_LN2; in c_log()
642 r.real = log(hypot(ldexp(ax, DBL_MANT_DIG), in c_log()
653 h = hypot(ax, ay); in c_log()
[all …]
/external/python/cpython3/PC/
Dpyconfig.h204 #define hypot _hypot macro
241 #define hypot _hypot macro
/external/python/cpython2/PC/
Dpyconfig.h231 #define hypot _hypot macro
285 #define hypot _hypot macro
/external/ImageMagick/MagickCore/
Dnt-base.h143 #if !defined(hypot)
144 # define hypot _hypot macro
/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/ltp/testcases/misc/math/float/
Dfloat_exp_log.c37 {FUNC_HYPOT, 50, hypot, "hypot", "hypot_inp.ref", "hypot_out.ref",
/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/python/cpython3/Lib/test/
Dtest_math.py723 self.assertRaises(TypeError, math.hypot)
724 self.ftest('hypot(0,0)', math.hypot(0,0), 0)
725 self.ftest('hypot(3,4)', math.hypot(3,4), 5)
726 self.assertEqual(math.hypot(NAN, INF), INF)
727 self.assertEqual(math.hypot(INF, NAN), INF)
728 self.assertEqual(math.hypot(NAN, NINF), INF)
729 self.assertEqual(math.hypot(NINF, NAN), INF)
730 self.assertRaises(OverflowError, math.hypot, FLOAT_MAX, FLOAT_MAX)
731 self.assertTrue(math.isnan(math.hypot(1.0, NAN)))
732 self.assertTrue(math.isnan(math.hypot(NAN, -2.0)))
/external/python/cpython2/Python/
Dpymath.c35 double hypot(double x, double y) in hypot() function
/external/python/cpython3/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/python/cpython2/Include/
Dpymath.h26 extern double hypot(double, double);
/external/python/cpython3/Include/
Dpymath.h26 extern double hypot(double, double);
/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/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());

1234