Re: Easiest way to find the inverse of a 16-bit integer
RussellMc <[email protected]> Tue, 9 Dec 2025 14:52:41 +1300
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <CACZQxzN9P+coE=hJg39kTyGbSLjW9X5UOy2BuwArO=sbcf+3tQ@mail.gmail.com> |
My friend Ken Mardle suggests as below.
Lots of blackholes in his "see also" link.:
The paper by Jeffrey Hurchalla is the most efficient approach I am aware of
(other than a brute-force table lookup).
An Improved Integer Modular Multiplicative Inverse (modulo )
https://arxiv.org/abs/2204.04342
See also:
>
> https://marc-b-reynolds.github.io/math/2017/09/18/ModInverse.html
>
> Regards
> Ken Mardle
>
>
Russell