Re: [PIC] Easiest way to find the inverse of a 16-bit integer
RussellMc <[email protected]> Tue, 9 Dec 2025 12:26:20 +1300
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <CACZQxzNWyUPUBtxQsBKfVELBcYk6jQs=UJuLdyXXUxSgZTES+w@mail.gmail.com> |
Perplexity suggests small look up table then refined by Newton Rapson for rapid convergence. https://www.perplexity.ai/search/algorithms-for-1-x-for-16-bit-Q77Z0QO_QSWGPRQyEXlFrg Russell. On Tue, Dec 9, 2025, 12:17 PM Dwayne Reid <[email protected]> wrote: > Good day to all. > > As part of my current project, I need to find the inverse of a 16-bit > binary integer. That is: 1/X. > > I was going to dig out my old division routines but was thinking there may > be an easier way to go. > > Suggestion greatly appreciated. > > Many thanks! > > dwayne > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > https://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at https://mailman.mit.edu/mailman/listinfo/piclist