Home
last modified time | relevance | path

Searched refs:bcpowmod (Results 1 – 13 of 13) sorted by relevance

/PHP-7.1/ext/bcmath/tests/
H A Dbcpowmod.phpt2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
9 echo bcpowmod("5", "2", "7") . "\n";
10 echo bcpowmod("-2", "5", "7") . "\n";
11 echo bcpowmod("10", "2147483648", "2047");
H A Dbug44995.phpt2 Bug #44995 (bcpowmod() fails if scale != 0)
9 var_dump(bcpowmod('4', '4', '3', 1));
10 var_dump(bcpowmod('3234', '32345', '22345', 1));
H A Dbug54598.phpt2 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
9 var_dump(bcpowmod(5, 0, 1));
10 var_dump(bcpowmod(5, 0, 1, 3));
H A Dbcpowmod_error2.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
10 echo bcpowmod('1', '2');
13 Warning: bcpowmod() expects at least 3 parameters, 2 given in %s.php on line %d
H A Dbcpowmod_error3.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
10 echo bcpowmod('1', '2', '3', '4', '5');
13 Warning: bcpowmod() expects at most 4 parameters, 5 given in %s.php on line %d
H A Dbcpowmod_error1.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
10 echo bcpowmod('1');
13 Warning: bcpowmod() expects at least 3 parameters, 1 given in %s.php on line %d
H A Dbug72093-win32.phpt2 Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition
17 var_dump(bcpowmod(1, "A", 128, -200));
18 var_dump(bcpowmod(1, 1.2, 1, 1));
H A Dbug72093.phpt2 Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition
16 var_dump(bcpowmod(1, "A", 128, -200));
17 var_dump(bcpowmod(1, 1.2, 1, 1));
H A Dbug75178-win32.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
17 var_dump(bcpowmod('4.1', '4', '3', 3));
18 var_dump(bcpowmod('4', '4', '3.1', 3));
H A Dbug75178.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
16 var_dump(bcpowmod('4.1', '4', '3', 3));
17 var_dump(bcpowmod('4', '4', '3.1', 3));
/PHP-7.1/ext/bcmath/
H A Dphp_bcmath.h45 PHP_FUNCTION(bcpowmod);
H A Dbcmath.c108 PHP_FE(bcpowmod, arginfo_bcpowmod)
419 PHP_FUNCTION(bcpowmod) in PHP_FUNCTION() argument
/PHP-7.1/
H A DNEWS765 . Fixed bug #44995 (bcpowmod() fails if scale != 0). (cmb)
767 . Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1). (okano1220, cmb)
768 . Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus). (cmb)
2957 . Fixed bug #72093 (bcpowmod accepts negative scale and corrupts

Completed in 19 milliseconds