Lines Matching refs:hypot
2 Test hypot() - wrong params test hypot()
5 /* Prototype : float hypot ( float $x , float $y )
10 echo "*** Testing hypot() : error conditions ***\n";
12 echo "\n-- Testing hypot() function with less than expected no. of arguments --\n";
13 hypot();
14 hypot(36);
16 echo "\n-- Testing hypot() function with more than expected no. of arguments --\n";
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
30 -- Testing hypot() function with more than expected no. of arguments --
32 Warning: hypot() expects exactly 2 parameters, 3 given in %s on line %d