Searched refs:bcpowmod (Results 1 – 14 of 14) sorted by relevance
/PHP-7.3/ext/bcmath/tests/ |
H A D | bug75178.phpt | 2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) 9 var_dump(bcpowmod('4.1', '4', '3', 3)); 10 var_dump(bcpowmod('4', '4', '3.1', 3)); 14 Warning: bcpowmod(): non-zero scale in base in %s on line %d 17 Warning: bcpowmod(): non-zero scale in modulus in %s on line %d
|
H A D | bcpowmod.phpt | 2 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 D | bug72093.phpt | 2 Bug 72093: bcpowmod accepts negative scale and corrupts _one_ definition 9 var_dump(bcpowmod(1, "A", 128, -200)); 10 var_dump(bcpowmod(1, 1.2, 1, 1)); 15 Warning: bcpowmod(): non-zero scale in exponent in %s on line %d
|
H A D | bug44995.phpt | 2 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 D | bug54598.phpt | 2 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 D | bcpowmod_error1.phpt | 2 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 D | bcpowmod_error2.phpt | 2 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 D | bcpowmod_error3.phpt | 2 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 D | scale.phpt | 14 'bcpowmod: ', bcpowmod('2', '1', '3', 5), PHP_EOL, 24 bcpowmod: 2.00000
|
H A D | scale_ini.phpt | 16 'bcpowmod: ', bcpowmod('2', '1', '3'), PHP_EOL, 26 bcpowmod: 2.00000
|
H A D | bug78878.phpt | 9 print @bcmul("\xB26483605105519922841849335928742092", bcpowmod(2, 65535, -4e-4));
|
H A D | bcpowmod_error4.phpt | 8 <?php var_dump(bcpowmod('1', '-1', '0')); ?>
|
/PHP-7.3/ext/bcmath/ |
H A D | php_bcmath.h | 43 PHP_FUNCTION(bcpowmod);
|
H A D | bcmath.c | 107 PHP_FE(bcpowmod, arginfo_bcpowmod) 400 PHP_FUNCTION(bcpowmod) in PHP_FUNCTION() argument
|
Completed in 15 milliseconds