Home
last modified time | relevance | path

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

/PHP-8.3/ext/bcmath/libbcmath/src/
H A Draisemod.c39 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
65 modulus = bc_copy_num(mod); in bc_raisemod()
71 if (!_bc_do_compare(modulus, BCG(_one_), false, false)) { in bc_raisemod()
79 (void) bc_modulo(temp, modulus, &temp, scale); in bc_raisemod()
82 (void) bc_modulo(power, modulus, &power, scale); in bc_raisemod()
89 bc_free_num (&modulus); in bc_raisemod()
/PHP-8.3/ext/bcmath/tests/
H A Dbug75178.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
20 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
H A Dbug54598.phpt2 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
H A Dbug78878.phpt14 bcpowmod(): Argument #3 ($modulus) cannot have a fractional part
H A Dbcpowmod.phpt2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
H A Dbcpowmod_error.phpt30 bcpowmod(): Argument #3 ($modulus) is not well-formed
/PHP-8.3/Zend/tests/
H A Dmod_001.phpt2 modulus by zero
/PHP-8.3/ext/bcmath/
H A Dbcmath.stub.php21 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} argument
H A Dbcmath_arginfo.h21 ZEND_ARG_TYPE_INFO(0, modulus, IS_STRING, 0)
/PHP-8.3/ext/gmp/
H A Dgmp.stub.php126 function gmp_powm(GMP|int|string $num, GMP|int|string $exponent, GMP|int|string $modulus): GMP {} argument
H A Dgmp_arginfo.h91 ZEND_ARG_OBJ_TYPE_MASK(0, modulus, GMP, MAY_BE_LONG|MAY_BE_STRING, NULL)

Completed in 37 milliseconds