Searched refs:bcpowmod (Results 1 – 15 of 15) sorted by relevance
/PHP-8.0/ext/bcmath/tests/ |
H A D | bcpowmod.phpt | 2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus 9 var_dump(bcpowmod("5", "2", "7")); 10 var_dump(bcpowmod("-2", "5", "7")); 11 var_dump(bcpowmod("10", "2147483648", "2047")); 12 var_dump(bcpowmod("10", "0", "2047"));
|
H A D | bug72093.phpt | 2 Bug 72093: bcpowmod fails on negative scale and corrupts _one_ definition 10 var_dump(bcpowmod(1, 0, 128, -200)); 15 var_dump(bcpowmod(1, 1.2, 1, 1)); 21 bcpowmod(): Argument #4 ($scale) must be between 0 and 2147483647 22 bcpowmod(): Argument #2 ($exponent) cannot have a fractional part
|
H A D | bug75178.phpt | 2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) 10 var_dump(bcpowmod('4.1', '4', '3', 3)); 15 var_dump(bcpowmod('4', '4', '3.1', 3)); 21 bcpowmod(): Argument #1 ($num) cannot have a fractional part 22 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
|
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 | scale.phpt | 14 'bcpowmod: ', bcpowmod('2', '1', '3', 5), PHP_EOL, 23 bcpowmod: 2.00000
|
H A D | scale_ini.phpt | 16 'bcpowmod: ', bcpowmod('2', '1', '3'), PHP_EOL, 25 bcpowmod: 2.00000
|
H A D | bug78878.phpt | 10 print bcmul("\xB26483605105519922841849335928742092", bcpowmod(2, 65535, -4e-4)); 16 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
|
H A D | bcpowmod_negative_exponent.phpt | 10 var_dump(bcpowmod('1', '-1', '2')); 16 bcpowmod(): Argument #2 ($exponent) must be greater than or equal to 0
|
H A D | bcpowmod_zero_modulus.phpt | 10 var_dump(bcpowmod('1', '1', '0'));
|
H A D | negative_scale.phpt | 35 bcpowmod('1', '2', '3', -9); 66 bcpowmod(): Argument #4 ($scale) must be between 0 and 2147483647
|
H A D | str2num_formatting.phpt | 4 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 D | bcmath_arginfo.h | 52 ZEND_FUNCTION(bcpowmod); 65 ZEND_FE(bcpowmod, arginfo_bcpowmod)
|
H A D | bcmath.stub.php | 15 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} function
|
H A D | bcmath.c | 418 PHP_FUNCTION(bcpowmod) in PHP_FUNCTION() argument
|
Completed in 11 milliseconds