/PHP-5.5/ext/standard/tests/math/ |
H A D | pow.phpt | 2 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 D | pow_error.phpt | 2 Test pow() - wrong params test pow() 7 pow(); 8 pow(36); 9 pow(36,4,true); 13 Warning: pow() expects exactly 2 parameters, 0 given in %s line 2 15 Warning: pow() expects exactly 2 parameters, 1 given in %s line 3 17 Warning: pow() expects exactly 2 parameters, 3 given in %s line 4
|
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_variation2.phpt | 2 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 D | pow_variation1.phpt | 2 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 D | pow_variation1_64bit.phpt | 2 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 D | is_nan_basic.phpt | 17 pow(0, -2),
|
H A D | is_finite_basic.phpt | 17 pow(0, -2),
|
H A D | is_infinite_basic.phpt | 17 pow(0, -2),
|
H A D | pow_basic.phpt | 2 Test pow() - basic function test pow() 43 $res = pow($base, $exponent);
|
H A D | pow_basic_64bit.phpt | 2 Test pow() - basic function test pow() 43 $res = pow($base, $exponent);
|
H A D | log.phpt | 20 $x2 = (int) pow($base, log($x, $base));
|
H A D | bug45712.phpt | 28 $inf = pow(0,-2);
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_map_variation12.phpt | 19 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 D | array_walk_variation8.phpt | 12 * 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 D | array_walk_recursive_variation8.phpt | 12 * 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 D | data.inc | 2 $tmp = pow(2,24);
|
/PHP-5.5/ext/com_dotnet/tests/ |
H A D | variants.phpt | 125 pow: 159 pow: 1 241 pow: 275 pow: 1 329 pow: 391 pow: 449 pow: 511 pow: 533 pow: 0 547 pow: 0 [all …]
|
/PHP-5.5/ext/standard/tests/ |
H A D | bug49244.phpt | 7 printf("{%f} %1\$f\n", pow(-1.0, 0.3)); 8 printf(b"{%f} %1\$f\n", pow(-1.0, 0.3));
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_insert_packet_overflow.phpt | 11 $max_len = pow(2, 24); 39 $max_len = pow(2, 24); 69 $max_len = pow(2, 24);
|
H A D | mysqli_fetch_assoc_bit.phpt | 24 $maxval = pow(2, $bits); 45 $max_value = pow(2, $bits) - 1;
|
H A D | mysqli_stmt_get_result_bit.phpt | 27 $maxval = pow(2, $bits); 48 $max_value = pow(2, $bits) - 1;
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | bug47842.phpt | 5 if (PHP_INT_MAX < pow(2,31)) die("skip PHP_INT_MAX < 32b\n");
|
/PHP-5.5/ext/standard/ |
H A D | math.c | 89 return pow(10.0, (double)power); in php_intpow10() 222 return(log(z + sqrt(1 + pow(z, 2))) / log(M_E)); in php_asinh() 599 PHP_FUNCTION(pow) in PHP_FUNCTION() argument 629 if (overflow) RETURN_DOUBLE(dval * pow(l2,i)); in PHP_FUNCTION() 633 if (overflow) RETURN_DOUBLE((double)l1 * pow(dval,i)); in PHP_FUNCTION() 643 RETURN_DOUBLE(pow(Z_DVAL_P(zbase), Z_DVAL_P(zexp))); in PHP_FUNCTION()
|
H A D | php_math.h | 46 PHP_FUNCTION(pow);
|