Home
last modified time | relevance | path

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

/PHP-8.0/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_error2.phpt2 bcpow() does not support exponents >= 2**63
10 var_dump(bcpow('0', '9223372036854775808', 2));
16 bcpow(): Argument #2 ($exponent) is too large
H A Dbcpow_error1.phpt2 bcpow() does not support non-integral exponents
10 var_dump(bcpow('1', '1.1', 2));
16 bcpow(): Argument #2 ($exponent) cannot have a fractional part
H A Dscale.phpt13 'bcpow: ', bcpow('2', '1', 5), PHP_EOL,
22 bcpow: 2.00000
H A Dscale_ini.phpt15 'bcpow: ', bcpow('2', '1'), PHP_EOL,
24 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.0/ext/bcmath/
H A Dbcmath_arginfo.h53 ZEND_FUNCTION(bcpow);
66 ZEND_FE(bcpow, arginfo_bcpow)
H A Dbcmath.stub.php17 function bcpow(string $num, string $exponent, ?int $scale = null): string {} function
H A Dbcmath.c477 PHP_FUNCTION(bcpow) in PHP_FUNCTION() argument

Completed in 12 milliseconds