gmp_mod()
function gmp_mod(object|string|int $num1, object|string|int $num2): object
Modulo of two GMP numbers.
Parameters:
$num1(object|string|int)$num2(object|string|int)
Returns: object
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_mod is implemented in the compiler, see the internals page.