Home
last modified time | relevance | path

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

/PHP-7.3/ext/bcmath/libbcmath/src/
H A Draisemod.c66 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
76 modulus = bc_copy_num (mod); in bc_raisemod()
95 if (modulus->n_scale != 0) in bc_raisemod()
98 _bc_truncate (&modulus); in bc_raisemod()
103 if ( !bc_compare(modulus, BCG(_one_)) ) in bc_raisemod()
115 (void) bc_modulo (temp, modulus, &temp, scale); in bc_raisemod()
119 (void) bc_modulo (power, modulus, &power, scale); in bc_raisemod()
126 bc_free_num (&modulus); in bc_raisemod()
/PHP-7.3/ext/bcmath/tests/
H A Dbug75178.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
17 Warning: bcpowmod(): non-zero scale in modulus in %s on line %d
H A Dbug54598.phpt2 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
H A Dbcpowmod.phpt2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
H A Dbcmod_error1.phpt2 bcmod — Get modulus of an arbitrary precision number
H A Dbcpowmod_error1.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
H A Dbcpowmod_error2.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
H A Dbcpowmod_error3.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
/PHP-7.3/Zend/tests/
H A Dmod_001.phpt2 modulus by zero

Completed in 11 milliseconds