Home
last modified time | relevance | path

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

/PHP-5.5/ext/standard/tests/math/
H A Dhypot_error.phpt2 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 Dhypot_variation1.phpt2 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 Dhypot_variation2.phpt2 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 Dhypot_basic.phpt2 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 Dhypot_basiclong_64bit.phpt2 Test hypot function : 64bit long tests
27 var_dump(hypot($longVal, $otherVal));
/PHP-5.5/ext/standard/
H A Dphp_math.h74 PHP_FUNCTION(hypot);
H A Dmath.c747 PHP_FUNCTION(hypot) in PHP_FUNCTION() argument
755 RETURN_DOUBLE(hypot(num1, num2)); in PHP_FUNCTION()
H A Dconfig.m4341 AC_CHECK_FUNCS(getcwd getwd asinh acosh atanh log1p hypot glob strfmon nice fpclass isinf isnan mem…
H A Dbasic_functions.c2927 PHP_FE(hypot, arginfo_hypot)

Completed in 28 milliseconds