Home
last modified time | relevance | path

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

/PHP-7.1/ext/bcmath/libbcmath/src/
H A Draisemod.c48 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
58 modulus = bc_copy_num (mod); in bc_raisemod()
77 if (modulus->n_scale != 0) in bc_raisemod()
80 bc_divide (modulus, BCG(_one_), &modulus, 0); /*truncate */ in bc_raisemod()
85 if ( !bc_compare(modulus, BCG(_one_)) ) in bc_raisemod()
97 (void) bc_modulo (temp, modulus, &temp, scale); in bc_raisemod()
101 (void) bc_modulo (power, modulus, &power, scale); in bc_raisemod()
108 bc_free_num (&modulus); in bc_raisemod()
/PHP-7.1/ext/bcmath/tests/
H A Dbug75178.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
23 bc math warning: non-zero scale in modulus
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_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
H A Dbcpowmod_error1.phpt2 bcpowmod — Raise an arbitrary precision number to another, reduced by a specified modulus
H A Dbug75178-win32.phpt2 Bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
/PHP-7.1/Zend/tests/
H A Dmod_001.phpt2 modulus by zero
/PHP-7.1/
H A DNEWS767 . Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1). (okano1220, cmb)
768 . Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus). (cmb)

Completed in 18 milliseconds