Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 25 of 45) sorted by relevance

12

/PHP-7.4/ext/standard/tests/math/
H A Dpow.phpt2 Various pow() tests
12 0.25 === pow(-2,-2)
13 -0.5 === pow(-2,-1)
14 1 === pow(-2, 0)
15 -2 === pow(-2, 1)
16 4 === pow(-2, 2)
17 1.0 === pow(-1,-2)
18 -1.0 === pow(-1,-1)
19 1 === pow(-1, 0)
20 -1 === pow(-1, 1)
[all …]
H A Dpow_basic2.phpt2 Test pow() - basic function test pow() - with large exponents
11 var_dump(pow(24, $large_exp));
12 var_dump(pow(0.24, -$large_exp));
13 var_dump(pow(-0.24, -$large_exp));
16 var_dump(pow(0.24, $large_exp));
17 var_dump(pow(-0.24, $large_exp));
18 var_dump(pow(24, -$large_exp));
19 var_dump(pow(-24, -$large_exp));
22 var_dump(pow(-0.24, $large_exp+1));
25 var_dump(pow(-24, $large_exp+1));
[all …]
H A Dpow_variation1.phpt2 Test pow() function : usage variations - different data types as $base argument
11 /* Prototype : number pow ( number $base , number $exp )
16 echo "*** Testing pow() : usage variations ***\n";
84 // loop through each element of $inputs to check the behaviour of pow()
88 var_dump(pow($input, 3));
95 *** Testing pow() : usage variations ***
H A Dpow_variation1_64bit.phpt2 Test pow() function : usage variations - different data types as $base argument
11 /* Prototype : number pow ( number $base , number $exp )
16 echo "*** Testing pow() : usage variations ***\n";
84 // loop through each element of $inputs to check the behaviour of pow()
88 var_dump(pow($input, 3));
95 *** Testing pow() : usage variations ***
H A Dpow_variation2.phpt2 Test pow() function : usage variations - different data types as $exp argument
7 /* Prototype : number pow ( number $base , number $exp )
12 echo "*** Testing pow() : usage variations ***\n";
80 // loop through each element of $inputs to check the behaviour of pow()
84 var_dump(pow(20.3, $input));
91 *** Testing pow() : usage variations ***
H A Dpow-operator.phpt2 Various pow() tests
H A Dis_nan_basic.phpt17 pow(0, -2),
H A Dis_finite_basic.phpt17 pow(0, -2),
H A Dis_infinite_basic.phpt17 pow(0, -2),
H A Dpow_basic_64bit.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
H A Dpow_basic.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
/PHP-7.4/ext/standard/tests/array/
H A Darray_map_variation12.phpt19 echo "-- with built-in function 'pow' and two parameters --\n";
20 var_dump( array_map('pow', $array1, $array2));
22 echo "-- with built-in function 'pow' and one parameter --\n";
23 var_dump( array_map('pow', $array1));
32 -- with built-in function 'pow' and two parameters --
41 -- with built-in function 'pow' and one parameter --
43 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
45 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
47 Warning: pow() expects exactly 2 parameters, 1 given in %s on line %d
H A Darray_walk_variation8.phpt12 * pow function
21 echo "-- With 'pow' built-in function --\n";
22 var_dump( array_walk($input, 'pow'));
34 -- With 'pow' built-in function --
H A Darray_walk_recursive_variation8.phpt12 * pow function
21 echo "-- With 'pow' built-in function --\n";
22 var_dump( array_walk_recursive($input, 'pow'));
34 -- With 'pow' built-in function --
H A Drange_bug70239_1.phpt5 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
H A Ddata.inc2 $tmp = pow(2,24);
H A Drange_bug70239_0.phpt5 range(0, pow(2.0, 100000000));
/PHP-7.4/ext/com_dotnet/tests/
H A Dvariants.phpt126 pow:
160 pow: 1
242 pow:
276 pow: 1
330 pow:
392 pow:
450 pow:
512 pow:
534 pow: 0
548 pow: 0
[all …]
H A Dvariants_x64.phpt129 pow:
163 pow: 1
245 pow:
279 pow: 1
333 pow:
395 pow:
453 pow:
515 pow:
537 pow: 0
551 pow: 0
[all …]
/PHP-7.4/ext/standard/tests/
H A Dbug49244.phpt7 printf("{%f} %1\$f\n", pow(-1.0, 0.3));
8 printf("{%f} %1\$f\n", pow(-1.0, 0.3));
/PHP-7.4/ext/gd/tests/
H A Dsimilarity.inc39 pow($red1 - $red2, 2) + pow($green1 - $green2, 2) + pow($blue1 - $blue2, 2)
/PHP-7.4/Zend/tests/ast/
H A Dzend-pow-assign.phpt11 Warning: assert(): assert(false && ($a **= 2)) failed in %s%ezend-pow-assign.php on line %d
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt11 $max_len = pow(2, 24);
39 $max_len = pow(2, 24);
69 $max_len = pow(2, 24);
/PHP-7.4/ext/opcache/tests/
H A Dbug77275.phpt20 $a = pow(1, 2);
/PHP-7.4/ext/standard/tests/strings/
H A Dbug47842.phpt5 if (PHP_INT_MAX < pow(2,31)) die("skip PHP_INT_MAX < 32b\n");

Completed in 30 milliseconds

12