Home
last modified time | relevance | path

Searched refs:bcpow (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/bcmath/tests/
H A Dbcpow_error2.phpt2 bcpow() does not support exponents >= 2**63
8 var_dump(bcpow('0', '9223372036854775808', 2));
14 var_dump(bcpow('0', '-9223372036854775808', 2));
20 bcpow(): Argument #2 ($exponent) is too large
21 bcpow(): Argument #2 ($exponent) is too large
H A Dbcpow_error3.phpt2 bcpow() requires well-formed values
9 bcpow('a', '1');
15 bcpow('1', 'a');
22 bcpow(): Argument #1 ($num) is not well-formed
23 bcpow(): Argument #2 ($exponent) is not well-formed
H A Dbcpow_error1.phpt2 bcpow() does not support non-integral exponents
8 var_dump(bcpow('1', '1.1', 2));
13 var_dump(bcpow('1', '0.1', 2));
19 bcpow(): Argument #2 ($exponent) cannot have a fractional part
20 bcpow(): Argument #2 ($exponent) cannot have a fractional part
H A Dscale.phpt11 'bcpow: ', bcpow('2', '1', 5), PHP_EOL,
20 bcpow: 2.00000
H A Dscale_ini.phpt13 'bcpow: ', bcpow('2', '1'), PHP_EOL,
22 bcpow: 2.00000
H A Dbcpow_zero.phpt2 bcpow() function with number zero
21 run_bcmath_tests($baseNumbers, $exponents, "**", bcpow(...));
H A Dbcpow_div_by_zero.phpt2 bcpow() negative power of zero
15 echo bcpow($baseNumber, $exponent), "\n";
H A Dbcpow_large_numbers.phpt2 bcpow() function with large numbers
25 run_bcmath_tests($baseNumbers, $exponents, "**", bcpow(...));
H A Dbcpow.phpt2 bcpow() function
25 run_bcmath_tests($baseNumbers, $exponents, "**", bcpow(...));
H A Dnegative_scale.phpt40 bcpow('1', '2', -1);
67 bcpow(): Argument #3 ($scale) must be between 0 and 2147483647
H A Dstr2num_formatting.phpt4 1 and 2 argument of bcadd/bcsub/bcmul/bcdiv/bcmod/bcpowmod/bcpow/bccomp (last one works different t…
/php-src/ext/bcmath/tests/number/methods/
H A Dpow_with_scale.phpt27 $func_ret = bcpow($value, (string) $exponent, $scale);
/php-src/ext/bcmath/
H A Dbcmath_arginfo.h133 ZEND_FUNCTION(bcpow);
166 ZEND_FE(bcpow, arginfo_bcpow)
H A Dbcmath.stub.php32 function bcpow(string $num, string $exponent, ?int $scale = null): string {} function
H A Dbcmath.c570 PHP_FUNCTION(bcpow) in PHP_FUNCTION() argument

Completed in 20 milliseconds