Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/standard/tests/math/
H A Dpow.phpt2 Various pow() tests
15 var_dump(0.25 === pow(-2,-2));
16 var_dump(-0.5 === pow(-2,-1));
17 var_dump(1 === pow(-2, 0));
18 var_dump(-2 === pow(-2, 1));
19 var_dump(4 === pow(-2, 2));
20 var_dump(1.0 === pow(-1,-2));
21 var_dump(-1.0 === pow(-1,-1));
22 var_dump(1 === pow(-1, 0));
23 var_dump(-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 echo "*** Testing pow() : usage variations ***\n";
79 // loop through each element of $inputs to check the behaviour of pow()
84 var_dump(pow($input, 3));
93 *** Testing pow() : usage variations ***
H A Dpow_variation1_64bit.phpt2 Test pow() function : usage variations - different data types as $base argument
11 echo "*** Testing pow() : usage variations ***\n";
79 // loop through each element of $inputs to check the behaviour of pow()
84 var_dump(pow($input, 3));
93 *** Testing pow() : usage variations ***
H A Dpow_variation2.phpt2 Test pow() function : usage variations - different data types as $exp argument
7 echo "*** Testing pow() : usage variations ***\n";
75 // loop through each element of $inputs to check the behaviour of pow()
80 var_dump(pow(20.3, $input));
89 *** Testing pow() : usage variations ***
H A Dpow-operator.phpt2 Various pow() tests
H A Dis_finite_basic.phpt16 pow(0, -2),
H A Dis_infinite_basic.phpt16 pow(0, -2),
H A Dis_nan_basic.phpt16 pow(0, -2),
H A Dpow_basic.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
H A Dpow_basic_64bit.phpt2 Test pow() - basic function test pow()
43 $res = pow($base, $exponent);
/PHP-8.1/ext/standard/tests/array/
H A Darray_map_variation12.phpt14 echo "-- with built-in function 'pow' and two parameters --\n";
15 var_dump( array_map('pow', $array1, $array2));
17 echo "-- with built-in function 'pow' and one parameter --\n";
19 var_dump( array_map('pow', $array1));
35 -- with built-in function 'pow' and two parameters --
44 -- with built-in function 'pow' and one parameter --
45 pow() expects exactly 2 arguments, 1 given
H A Darray_walk_recursive_variation8.phpt7 * pow function
16 echo "-- With 'pow' built-in function --\n";
17 var_dump( array_walk_recursive($input, 'pow'));
33 -- With 'pow' built-in function --
H A Darray_walk_variation8.phpt7 * pow function
16 echo "-- With 'pow' built-in function --\n";
17 var_dump( array_walk($input, 'pow'));
33 -- With 'pow' built-in function --
H A Drange_bug70239_1.phpt6 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
H A Ddata.inc2 $tmp = pow(2,24);
H A Drange_bug70239_0.phpt6 range(0, pow(2.0, 100000000));
/PHP-8.1/ext/gmp/tests/
H A Dgmp_pow2.phpt2 Test pow() with gmp object
9 var_dump(pow($n, 10));
13 pow($n, -10);
/PHP-8.1/ext/com_dotnet/tests/
H A Dvariants.phpt127 pow:
161 pow: 1
243 pow:
277 pow: 1
331 pow:
393 pow:
451 pow:
513 pow:
535 pow: 0
549 pow: 0
[all …]
H A Dvariants_x64.phpt130 pow:
164 pow: 1
246 pow:
280 pow: 1
334 pow:
396 pow:
454 pow:
516 pow:
538 pow: 0
552 pow: 0
[all …]
/PHP-8.1/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-8.1/ext/gd/tests/
H A Dsimilarity.inc39 pow($red1 - $red2, 2) + pow($green1 - $green2, 2) + pow($blue1 - $blue2, 2)
/PHP-8.1/Zend/tests/ast/
H A Dzend-pow-assign.phpt13 Warning: assert(): assert(false && ($a **= 2)) failed in %s%ezend-pow-assign.php on line %d
/PHP-8.1/ext/opcache/tests/jit/
H A Dbug81225.phpt2 Bug #81225: Wrong result with pow operator with JIT enabled
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt12 $max_len = pow(2, 24);
40 $max_len = pow(2, 24);
70 $max_len = pow(2, 24);

Completed in 32 milliseconds

12