/php-src/ext/standard/tests/math/ |
H A D | pow.phpt | 2 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 D | pow_basic2.phpt | 2 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 D | pow_divisionbyzero.phpt | 2 pow() division by zero error 7 var_dump(pow(0, -0)); 8 var_dump(pow(0.0, -0)); 9 var_dump(pow(0, -0.0)); 10 var_dump(pow(0.0, -0.0)); 11 var_dump(pow(0, -0.01)); 12 var_dump(pow(0.0, -0.01)); 13 var_dump(pow(0, -1)); 14 var_dump(pow(0.0, -1)); 15 var_dump(pow(0, -1.1)); [all …]
|
H A D | pow_variation2.phpt | 2 Test pow() function : usage variations - different data types as $exp argument 53 // loop through each element of $inputs to check the behaviour of pow() 56 var_dump(pow(20.3, $input));
|
H A D | pow_variation1_64bit.phpt | 2 Test pow() function : usage variations - different data types as $base argument 57 // loop through each element of $inputs to check the behaviour of pow() 60 var_dump(pow($input, 3));
|
H A D | pow_variation1.phpt | 2 Test pow() function : usage variations - different data types as $base argument 58 // loop through each element of $inputs to check the behaviour of pow() 61 var_dump(pow($input, 3));
|
H A D | pow-operator.phpt | 2 Various pow() tests
|
/php-src/ext/standard/tests/array/ |
H A D | array_map_variation12.phpt | 14 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
|
/php-src/ext/gmp/tests/ |
H A D | gmp_pow2.phpt | 2 Test pow() with gmp object 9 var_dump(pow($n, 10)); 13 pow($n, -10);
|
/php-src/ext/standard/tests/array/array_walk/ |
H A D | array_walk_variation8.phpt | 7 * 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 D | array_walk_recursive_variation8.phpt | 7 * pow function 16 echo "-- With 'pow' built-in function --\n"; 17 var_dump( array_walk_recursive($input, 'pow')); 33 -- With 'pow' built-in function --
|
/php-src/ext/com_dotnet/tests/ |
H A D | variants.phpt | 127 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 D | variants_x64.phpt | 130 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-src/ext/standard/tests/array/range/ |
H A D | range_bug70239_1.phpt | 6 range(pow(2.0, 100000000), pow(2.0, 100000000) + 1);
|
H A D | range_bug70239_0.phpt | 6 range(0, pow(2.0, 100000000));
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | calc_methods_scale_arg_error.phpt | 2 BcMath\Number calc methods (add, sub, mul, div, mod, pow) scale arg error 19 'pow', 82 ========== pow ========== 84 BcMath\Number::pow(): Argument #2 ($scale) must be of type ?int, array given 86 BcMath\Number::pow(): Argument #2 ($scale) must be of type ?int, stdClass given
|
H A D | pow_with_scale.phpt | 2 BcMath\Number pow() with scale 28 $method_ret = $num->pow($exponent, $scale);
|
H A D | pow_div_by_zero.phpt | 2 BcMath\Number pow(): negative power of zero 22 $num->pow($exponent);
|
H A D | calc_methods_num_arg_error.phpt | 2 BcMath\Number calc methods (add, sub, mul, div, mod, pow) num arg error 21 'pow', 113 ========== pow ========== 115 BcMath\Number::pow(): Argument #1 ($exponent) is not well-formed 117 BcMath\Number::pow(): Argument #1 ($exponent) must be of type int, string, or BcMath\Number, array … 119 BcMath\Number::pow(): Argument #1 ($exponent) must be of type int, string, or BcMath\Number, stdCla… 125 Deprecated: BcMath\Number::pow(): Passing null to parameter #1 ($exponent) of type BcMath\Number|st…
|
H A D | pow.phpt | 2 BcMath\Number pow() 25 $ret = $num->pow($exponent);
|
/php-src/ext/standard/tests/ |
H A D | bug49244.phpt | 7 printf("{%f} %1\$f\n", pow(-1.0, 0.3)); 8 printf("{%f} %1\$f\n", pow(-1.0, 0.3));
|
/php-src/ext/gd/tests/ |
H A D | similarity.inc | 39 pow($red1 - $red2, 2) + pow($green1 - $green2, 2) + pow($blue1 - $blue2, 2)
|
/php-src/ext/standard/tests/array/sort/ |
H A D | data.inc | 2 $tmp = pow(2,24);
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | strtod.c | 165 lexbor_diyfp_t value, pow, adj_pow, rounded; in lexbor_strtod_diyfp_strtod() local 188 pow = lexbor_cached_power_dec(exp, &dec_exp); in lexbor_strtod_diyfp_strtod() 204 value = lexbor_diyfp_mul(value, pow); in lexbor_strtod_diyfp_strtod()
|
/php-src/ext/bcmath/tests/number/operators/ |
H A D | compound_assignment.phpt | 68 echo "========== pow ==========\n"; 111 ========== pow ==========
|