Project

General

Profile

Actions

$modinv » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 01/13/2023 07:12 AM


Added in 4.3

$modinv(base, modulus)

Returns the inverse modulus for the specified base and modulus.

Parameters

base - The base to calculate for.
modulus - The modulus to calculate for.

Example

//echo -ag The inverse modulus for 2 and 1907 is $modinv(2, 1907)

Updated by Per Amundsen almost 2 years ago · 1 revisions

Also available in: PDF HTML TXT