Searched refs:modulus (Results 1 – 9 of 9) sorted by relevance
/PHP-7.3/ext/bcmath/libbcmath/src/ |
H A D | raisemod.c | 66 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 D | bug75178.phpt | 2 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 D | bug54598.phpt | 2 Bug #54598 (bcpowmod() may return 1 if modulus is 1)
|
H A D | bcpowmod.phpt | 2 bcpowmod() - Raise an arbitrary precision number to another, reduced by a specified modulus
|
H A D | bcmod_error1.phpt | 2 bcmod — Get modulus of an arbitrary precision number
|
H A D | bcpowmod_error1.phpt | 2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
|
H A D | bcpowmod_error2.phpt | 2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
|
H A D | bcpowmod_error3.phpt | 2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
|
/PHP-7.3/Zend/tests/ |
H A D | mod_001.phpt | 2 modulus by zero
|
Completed in 31 milliseconds