Home
last modified time | relevance | path

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

/PHP-8.1/ext/bcmath/tests/
H A Dbcpow.phpt2 bcpow() function
9 echo bcpow("1", "2"),"\n";
10 echo bcpow("-2", "5", 4),"\n";
11 echo bcpow("2", "64"),"\n";
12 echo bcpow("-2.555", "5", 2),"\n";
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_error2.phpt2 bcpow() does not support exponents >= 2**63
8 var_dump(bcpow('0', '9223372036854775808', 2));
14 bcpow(): Argument #2 ($exponent) is too large
H A Dbcpow_error1.phpt2 bcpow() does not support non-integral exponents
8 var_dump(bcpow('1', '1.1', 2));
14 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_variation001.phpt2 bcpow() with a negative exponent
9 echo bcpow("2", "-4");
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-8.1/ext/bcmath/
H A Dbcmath_arginfo.h53 ZEND_FUNCTION(bcpow);
66 ZEND_FE(bcpow, arginfo_bcpow)
H A Dbcmath.stub.php24 function bcpow(string $num, string $exponent, ?int $scale = null): string {} function
H A Dbcmath.c477 PHP_FUNCTION(bcpow) in PHP_FUNCTION() argument

Completed in 13 milliseconds