Searched refs:modulus (Results 1 – 12 of 12) sorted by relevance
/php-src/ext/bcmath/libbcmath/src/ |
H A D | raisemod.c | 39 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local 71 modulus = bc_copy_num(mod); in bc_raisemod() 80 (void) bc_modulo(temp, modulus, &temp, scale); in bc_raisemod() 83 (void) bc_modulo(power, modulus, &power, scale); in bc_raisemod() 89 bc_free_num (&modulus); in bc_raisemod()
|
/php-src/ext/bcmath/tests/ |
H A D | bug75178.phpt | 2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) 20 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
|
H A D | bug54598.phpt | 2 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
|
H A D | bug78878.phpt | 14 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
|
H A D | bcpowmod.phpt | 2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
|
H A D | bcpowmod_error.phpt | 30 bcpowmod(): Argument #3 ($modulus) is not well-formed
|
/php-src/ext/bcmath/tests/number/methods/ |
H A D | powmod_arg_error.phpt | 56 BcMath\Number::powmod(): Argument #2 ($modulus) is not well-formed 58 BcMath\Number::powmod(): Argument #2 ($modulus) must be of type int, string, or BcMath\Number, arra… 60 BcMath\Number::powmod(): Argument #2 ($modulus) must be of type int, string, or BcMath\Number, stdC… 67 Deprecated: BcMath\Number::powmod(): Passing null to parameter #2 ($modulus) of type BcMath\Number|…
|
/php-src/Zend/tests/ |
H A D | mod_001.phpt | 2 modulus by zero
|
/php-src/ext/bcmath/ |
H A D | bcmath.stub.php | 29 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} argument 76 …public function powmod(Number|string|int $exponent, Number|string|int $modulus, ?int $scale = null… argument
|
H A D | bcmath_arginfo.h | 27 ZEND_ARG_TYPE_INFO(0, modulus, IS_STRING, 0) 88 ZEND_ARG_OBJ_TYPE_MASK(0, modulus, BcMath\\\116umber, MAY_BE_STRING|MAY_BE_LONG, NULL)
|
/php-src/ext/gmp/ |
H A D | gmp.stub.php | 126 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {} argument
|
H A D | gmp_arginfo.h | 91 ZEND_ARG_OBJ_TYPE_MASK(0, modulus, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)
|
Completed in 14 milliseconds