/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
D | math_hypot_test.cpp | 24 …bool testResult = DoubleUlpCmp(g_hypotData[i].expected, hypot(g_hypotData[i].input1, g_hypotData[i… 36 EXPECT_DOUBLE_EQ(10.0, hypot(6.0, 8.0)); 46 EXPECT_EQ(HUGE_VAL, hypot(4.0, HUGE_VAL)); 47 EXPECT_EQ(HUGE_VAL, hypot(4.0, -HUGE_VAL)); 48 EXPECT_EQ(HUGE_VAL, hypot(HUGE_VAL, 5.0)); 49 EXPECT_EQ(HUGE_VAL, hypot(-HUGE_VAL, 5.0)); 59 EXPECT_TRUE(isnan(hypot(6.0, nan("")))); 60 EXPECT_TRUE(isnan(hypot(nan(""), 8.0)));
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_types.h | 109 #ifdef hypot 110 #undef hypot 113 #define hypot _hypot macro
|
/third_party/musl/src/math/i386/ |
D | hypot.s | 1 .global hypot symbol 2 .type hypot,@function 3 hypot: label
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/class_declarations/class_heritage_specification/ |
D | class_heritage_specification_4.ts | 29 public hypot() {return "what are you doing?" } method in Compute 35 Assert.isString(p.hypot());
|
D | class_heritage_specification_1.ts | 27 public hypot() { method in Compute 52 Assert.equal(5,count.hypot());
|
D | class_heritage_specification_2.ts | 27 public hypot() { method in Compute 35 Assert.equal(5,p.hypot())
|
/third_party/python/Lib/test/ |
D | test_math.py | 735 hypot = math.hypot 742 hypot(*args[:i]), 747 self.assertEqual(hypot(12.0, 5.0), 13.0) 748 self.assertEqual(hypot(12, 5), 13) 749 self.assertEqual(hypot(Decimal(12), Decimal(5)), 13) 750 self.assertEqual(hypot(Fraction(12, 32), Fraction(5, 32)), Fraction(13, 32)) 751 self.assertEqual(hypot(bool(1), bool(0), bool(1), bool(1)), math.sqrt(3)) 754 self.assertEqual(hypot(0.0, 0.0), 0.0) # Max input is zero 755 self.assertEqual(hypot(-10.5), 10.5) # Negative input 756 self.assertEqual(hypot(), 0.0) # Negative input [all …]
|
/third_party/musl/src/complex/ |
D | csqrtf.c | 76 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf() 79 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf()
|
D | csqrt.c | 89 t = sqrt((a + hypot(a, b)) * 0.5); in csqrt() 92 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrt()
|
D | cabs.c | 5 return hypot(creal(z), cimag(z)); in cabs()
|
/third_party/ffmpeg/libavutil/ |
D | display.c | 38 scale[0] = hypot(CONV_FP(matrix[0]), CONV_FP(matrix[3])); in av_display_rotation_get() 39 scale[1] = hypot(CONV_FP(matrix[1]), CONV_FP(matrix[4])); in av_display_rotation_get()
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/members/instance_and_static_members/ |
D | instance_and_static_members_2.ts | 53 public hypot() { method in Compute 77 Assert.equal(count.hypot(),5);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/class_declarations/ |
D | class_declarations_3.ts | 34 public hypot() { method in Compute 51 Assert.equal(10,mc4.field.hypot());
|
D | class_declarations_2.ts | 32 return Math.hypot(dx, dy);
|
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/classes/class_declarations/class_body/ |
D | class_body.ts | 33 public hypot() { method in Compute 44 Assert.equal(5, p2.hypot())
|
/third_party/ffmpeg/libavfilter/opencl/ |
D | convolution.cl | 73 float4 dstPix = hypot(sum1, sum2) * div + bias; 102 float4 dstPix = hypot(sum1, sum2) * div + bias; 125 float4 dstPix = hypot(sum1, sum2) * div + bias;
|
/third_party/musl/libc-test/src/api/ |
D | tgmath.c | 156 #ifdef hypot in f() 157 {double r = hypot(x,y);} in f() 159 #error no hypot(x,y) in f()
|
/third_party/python/Modules/ |
D | cmathmodule.c | 231 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 …]
|
/third_party/ltp/testcases/misc/math/float/ |
D | float_exp_log.c | 37 {FUNC_HYPOT, 50, hypot, "hypot", "hypot_inp.ref", "hypot_out.ref",
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | math-functions-tonumber-rule2.js | 22 Math.hypot (a, b, c, d, e);
|
/third_party/typescript/tests/baselines/reference/ |
D | doYouNeedToChangeYourTargetLibraryES2015.js | 53 const testMathHypot = Math.hypot(0,0); 151 var testMathHypot = Math.hypot(0, 0);
|
/third_party/python/Python/ |
D | pymath.c | 37 double hypot(double x, double y) in hypot() function
|
/third_party/libinput/src/ |
D | evdev-mt-touchpad-gestures.c | 405 vector_length = hypot(vector.x, vector.y); in tp_gesture_apply_scroll_constraints() 709 first_mm = hypot(first_moved.x, first_moved.y); in tp_gesture_pointer_motion_handle_event() 875 first_mm = hypot(first_moved.x, first_moved.y); in tp_gesture_detect_motion_gestures() 914 second_mm = hypot(second_moved.x, second_moved.y); in tp_gesture_detect_motion_gestures() 1035 first_mm = hypot(first_moved.x, first_moved.y); in tp_gesture_is_pinch() 1040 second_mm = hypot(second_moved.x, second_moved.y); in tp_gesture_is_pinch() 1287 thumb_mm = hypot(thumb_moved.x, thumb_moved.y); in tp_gesture_thumb_moved()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | eval | 268 Evaluating 'hypot(4,3)' 269 'hypot(4,3)' -> 5.000000
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | tgmath.h | 176 #undef hypot 239 #define hypot(x,y) __tg_real_2(hypot, (x), (y)) macro
|