ec_mod calculates the modulus of two numbers and returns the result.
$a = 87;$b = 43;$mod = ec_mod $a$b;ec_log "${a} mod by ${b} is ${mod}";#mod is 1
Was this page helpful?
We use cookies to optimize your experience, analyze traffic, and personalize content. To learn more, please visit our Cookie Policy. By using our site without disabling cookies, you consent to our use of them.