/dports/math/stanmath/math-4.2.0/test/unit/math/prim/fun/ |
H A D | hypot_test.cpp | 8 using stan::math::hypot; in TEST() 10 EXPECT_FLOAT_EQ(5.0, hypot(3, 4)); in TEST() 11 EXPECT_FLOAT_EQ(5.0, hypot(3, 4.0)); in TEST() 12 EXPECT_FLOAT_EQ(5.0, hypot(3.0, 4)); in TEST() 13 EXPECT_FLOAT_EQ(5.0, hypot(3.0, 4.0)); in TEST() 15 EXPECT_FLOAT_EQ(0.0, hypot(0, 0)); in TEST() 16 EXPECT_FLOAT_EQ(0.0, hypot(0, 0.0)); in TEST() 17 EXPECT_FLOAT_EQ(0.0, hypot(0.0, 0)); in TEST() 22 using stan::math::hypot; in TEST() 49 using stan::math::hypot; in TEST() [all …]
|
/dports/math/mppp/mppp-0.26/test/ |
H A D | real128_roots.cpp | 84 REQUIRE((hypot(real128{}, real128{}) == 0)); 87 REQUIRE((hypot(real128{}, 0).m_value == 0)); 88 REQUIRE((hypot(0.f, real128{}).m_value == 0)); 89 REQUIRE(abs(hypot(real128{2}, 3ll) - cmp1) < 1E-33); 90 REQUIRE(abs(hypot(2u, real128{3}) - cmp1) < 1E-33); 92 REQUIRE(abs(hypot(2., real128{-3}) - cmp2) < 1E-33); 93 REQUIRE((hypot(real128{}, int_t{}).m_value == 0)); 94 REQUIRE((hypot(int_t{}, real128{}).m_value == 0)); 99 REQUIRE((hypot(real128{}, rat_t{}).m_value == 0)); 100 REQUIRE((hypot(rat_t{}, real128{}).m_value == 0)); [all …]
|
/dports/www/firefox/firefox-99.0/testing/web-platform/meta/css/css-values/ |
H A D | hypot-pow-sqrt-computed.html.ini | 1 [hypot-pow-sqrt-computed.html] 8 [hypot(1) should be used-value-equivalent to 1] 29 [hypot(-5px) should be used-value-equivalent to 5px] 44 [hypot(1px) should be used-value-equivalent to 1px] 47 [hypot(1cm) should be used-value-equivalent to 1cm] 50 [hypot(1mm) should be used-value-equivalent to 1mm] 53 [hypot(1Q) should be used-value-equivalent to 1Q] 56 [hypot(1in) should be used-value-equivalent to 1in] 59 [hypot(1pc) should be used-value-equivalent to 1pc] 62 [hypot(1pt) should be used-value-equivalent to 1pt] [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/math/test/ |
H A D | hypot_test.cpp | 46 float expected = static_cast<float>((boost::math::hypot)( in do_test_boundaries() 54 float found = (boost::math::hypot)(x, y); in do_test_boundaries() 97 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 98 …BOOST_CHECK_EQUAL(boost::math::hypot(boundaries[i], boundaries[j]), boost::math::hypot(boundaries[… in test_spots() 99 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 100 …BOOST_CHECK_EQUAL(boost::math::hypot(-boundaries[i], -boundaries[j]), boost::math::hypot(-boundari… in test_spots() 107 BOOST_CHECK_EQUAL(boost::math::hypot(inf, nan), inf); in test_spots() 108 BOOST_CHECK_EQUAL(boost::math::hypot(-inf, nan), inf); in test_spots() 109 BOOST_CHECK_EQUAL(boost::math::hypot(nan, inf), inf); in test_spots() 110 BOOST_CHECK_EQUAL(boost::math::hypot(nan, -inf), inf); in test_spots() [all …]
|
/dports/math/stan/stan-2.28.2/src/test/test-models/good/function-signatures/math/functions/ |
H A D | hypot.stan | 10 transformed_data_real = hypot(d_real, r_real); 11 transformed_data_real = hypot(d_int, r_real); 12 transformed_data_real = hypot(d_real, d_int); 13 transformed_data_real = hypot(r_int, d_int); 21 transformed_param_real = hypot(d_real, r_real); 22 transformed_param_real = hypot(d_int, r_real); 23 transformed_param_real = hypot(d_real, d_int); 24 transformed_param_real = hypot(r_int, d_int); 25 transformed_param_real = hypot(r_int, p_real); 26 transformed_param_real = hypot(r_real, p_real); [all …]
|
/dports/lang/php73/php-7.3.33/ext/standard/tests/math/ |
H A D | hypot_error.phpt | 2 Test hypot() - wrong params test hypot() 5 /* Prototype : float hypot ( float $x , float $y ) 10 echo "*** Testing hypot() : error conditions ***\n"; 13 hypot(); 14 hypot(36); 17 hypot(36,25,0); 22 *** Testing hypot() : error conditions *** 24 -- Testing hypot() function with less than expected no. of arguments -- 26 Warning: hypot() expects exactly 2 parameters, 0 given in %s on line %d 28 Warning: hypot() expects exactly 2 parameters, 1 given in %s on line %d [all …]
|
H A D | hypot_variation1.phpt | 2 Test hypot() function : usage variations - different data types as $x argument 5 /* Prototype : float hypot ( float $x , float $y ) 10 echo "*** Testing hypot() : usage variations ***\n"; 79 // loop through each element of $inputs to check the behaviour of hypot() 83 var_dump(hypot($input, 5)); 90 *** Testing hypot() : usage variations *** 142 Warning: hypot() expects parameter 1 to be float, string given in %s on line %d 147 Warning: hypot() expects parameter 1 to be float, string given in %s on line %d 152 Warning: hypot() expects parameter 1 to be float, array given in %s on line %d 157 Warning: hypot() expects parameter 1 to be float, string given in %s on line %d [all …]
|
H A D | hypot_variation2.phpt | 2 Test hypot() function : usage variations - different data types as $y argument 5 /* Prototype : float hypot ( float $x , float $y ) 10 echo "*** Testing hypot() : usage variations ***\n"; 79 // loop through each element of $inputs to check the behaviour of hypot() 83 var_dump(hypot(3, $input)); 90 *** Testing hypot() : usage variations *** 142 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d 147 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d 152 Warning: hypot() expects parameter 2 to be float, array given in %s on line %d 157 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/standard/tests/math/ |
H A D | hypot_error.phpt | 2 Test hypot() - wrong params test hypot() 5 /* Prototype : float hypot ( float $x , float $y ) 10 echo "*** Testing hypot() : error conditions ***\n"; 13 hypot(); 14 hypot(36); 17 hypot(36,25,0); 22 *** Testing hypot() : error conditions *** 24 -- Testing hypot() function with less than expected no. of arguments -- 26 Warning: hypot() expects exactly 2 parameters, 0 given in %s on line %d 28 Warning: hypot() expects exactly 2 parameters, 1 given in %s on line %d [all …]
|
H A D | hypot_variation2.phpt | 2 Test hypot() function : usage variations - different data types as $y argument 5 /* Prototype : float hypot ( float $x , float $y ) 10 echo "*** Testing hypot() : usage variations ***\n"; 79 // loop through each element of $inputs to check the behaviour of hypot() 83 var_dump(hypot(3, $input)); 90 *** Testing hypot() : usage variations *** 142 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d 147 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d 152 Warning: hypot() expects parameter 2 to be float, array given in %s on line %d 157 Warning: hypot() expects parameter 2 to be float, string given in %s on line %d [all …]
|
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/math/ |
H A D | hypot_spec.rb | 6 Math.hypot(3, 4).should be_kind_of(Float) 10 Math.hypot(0, 0).should be_close(0.0, TOLERANCE) 11 Math.hypot(2, 10).should be_close( 10.1980390271856, TOLERANCE) 12 Math.hypot(5000, 5000).should be_close(7071.06781186548, TOLERANCE) 14 Math.hypot(-2, -10).should be_close(10.1980390271856, TOLERANCE) 15 Math.hypot(2, 10).should be_close(10.1980390271856, TOLERANCE) 19 lambda { Math.hypot("test", "this") }.should raise_error(TypeError) 23 Math.hypot(nan_value, 0).nan?.should be_true 24 Math.hypot(0, nan_value).nan?.should be_true 25 Math.hypot(nan_value, nan_value).nan?.should be_true [all …]
|
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/kurbo-0.6.1/examples/ |
H A D | cubic_arclen.rs | 21 .hypot(); in gauss_arclen_5() 27 .hypot(); in gauss_arclen_5() 38 let lc = (c.p3 - c.p0).hypot(); in est_gauss5_error() 39 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss5_error() 44 7e-8 * (d3.eval(0.5).to_vec2().hypot() * lmi + 5.0 * d2.eval(0.5).to_vec2().hypot() * lmi) in est_gauss5_error() 68 let lc = (c.p3 - c.p0).hypot(); in est_gauss7_error() 69 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss7_error() 84 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss9_error() 91 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss11_error() 140 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss11_error_3() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/kurbo-0.5.11/examples/ |
H A D | cubic_arclen.rs | 19 .hypot(); in gauss_arclen_5() 25 .hypot(); in gauss_arclen_5() 36 let lc = (c.p3 - c.p0).hypot(); in est_gauss5_error() 37 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss5_error() 42 7e-8 * (d3.eval(0.5).to_vec2().hypot() * lmi + 5.0 * d2.eval(0.5).to_vec2().hypot() * lmi) in est_gauss5_error() 66 let lc = (c.p3 - c.p0).hypot(); in est_gauss7_error() 67 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss7_error() 82 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss9_error() 89 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss11_error() 137 let lp = (c.p1 - c.p0).hypot() + (c.p2 - c.p1).hypot() + (c.p3 - c.p2).hypot(); in est_gauss11_error_3() [all …]
|
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/t/sass-spec/spec/core_functions/math/ |
H A D | hypot.hrx | 10 a {b: math.hypot(3, 4, 5, 6, 7)} 65 a {b: math.hypot("0", 1px, 1px)} 79 a {b: math.hypot(1px, "0", 1px)} 163 a {b: math.hypot(0, 1px, 2px)} 177 a {b: math.hypot(0px, 1, 2px)} 191 a {b: math.hypot(0px, 1px, 2)} 205 a {b: math.hypot(0, 1, 2px)} 219 a {b: math.hypot(0, 1px, 2)} 233 a {b: math.hypot(0px, 1, 2)} 247 a {b: math.hypot()} [all …]
|
/dports/devel/gnulib/gnulib-20140202-stable/doc/posix-functions/ |
H A D | hypot.texi | 1 @node hypot 2 @section @code{hypot} 3 @findex hypot 5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/hypot.html} 7 Gnulib module: hypot or hypot-ieee 9 Portability problems fixed by either Gnulib module @code{hypot} or @code{hypot-ieee}: 13 Portability problems fixed by Gnulib module @code{hypot-ieee}:
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/doc/posix-functions/ |
H A D | hypot.texi | 1 @node hypot 2 @section @code{hypot} 3 @findex hypot 5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/hypot.html} 7 Gnulib module: hypot or hypot-ieee 9 Portability problems fixed by either Gnulib module @code{hypot} or @code{hypot-ieee}: 13 Portability problems fixed by Gnulib module @code{hypot-ieee}:
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/BiFModule/Languages/OpenCL/Math/ |
H A D | hypot.cl | 12 float OVERLOADABLE hypot( float x, float y ) 14 return SPIRV_OCL_BUILTIN(hypot, _f32_f32, )( x, y ); 17 GENERATE_VECTOR_FUNCTIONS_2ARGS_VV_LOOP( hypot, float, float, float ) 21 double OVERLOADABLE hypot( double x, double y ) 23 return SPIRV_OCL_BUILTIN(hypot, _f64_f64, )( x, y ); 26 GENERATE_VECTOR_FUNCTIONS_2ARGS_VV_LOOP( hypot, double, double, double ) 32 half OVERLOADABLE hypot( half x, half y ) 35 return SPIRV_OCL_BUILTIN(hypot, _f16_f16, )( x, y ); 38 GENERATE_VECTOR_FUNCTIONS_2ARGS_VV_LOOP( hypot, half, half, half )
|