Searched refs:hypot (Results 1 – 9 of 9) sorted by relevance
/PHP-5.4/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 double, string given in %s on line %d 147 Warning: hypot() expects parameter 1 to be double, string given in %s on line %d 152 Warning: hypot() expects parameter 1 to be double, array given in %s on line %d 157 Warning: hypot() expects parameter 1 to be double, 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 double, string given in %s on line %d 147 Warning: hypot() expects parameter 2 to be double, string given in %s on line %d 152 Warning: hypot() expects parameter 2 to be double, array given in %s on line %d 157 Warning: hypot() expects parameter 2 to be double, string given in %s on line %d [all …]
|
H A D | hypot_basic.phpt | 2 Test hypot() - basic function test hypot() 8 /* Prototype : float hypot ( float $x , float $y ) 13 echo "*** Testing hypot() : basic functionality ***\n"; 46 $res = hypot($valuesy[$i], $valuesx[$j]); 53 *** Testing hypot() : basic functionality ***
|
H A D | hypot_basiclong_64bit.phpt | 2 Test hypot function : 64bit long tests 27 var_dump(hypot($longVal, $otherVal));
|
/PHP-5.4/ext/standard/ |
H A D | php_math.h | 74 PHP_FUNCTION(hypot);
|
H A D | math.c | 747 PHP_FUNCTION(hypot) in PHP_FUNCTION() argument 755 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION()
|
H A D | config.m4 | 340 AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice fpclass isinf isnan mem…
|
H A D | basic_functions.c | 2909 PHP_FE(hypot, arginfo_hypot)
|
Completed in 80 milliseconds