Re: [PIC] Easiest way to find the inverse of a 16-bit integer
Jesse Lackey <[email protected]> Wed, 10 Dec 2025 16:55:19 -0800
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <[email protected]> |
Love this list! J Harold Hallikainen wrote: > > > On Mon, December 8, 2025 4:26 pm, RussellMc wrote: >> 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_QS >> WGPRQyEXlFrg >> >> >> >> Russell. > > That looks similar to the approach at > https://pic.hallikainen.org/techref/microchip/math/div/recip32k-ng.htm . > > Harold > > > >> >> >> 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 >> >> > > -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at https://mailman.mit.edu/mailman/listinfo/piclist