piclist 2017\09\05\133338a >
Thread: Division routines.
picon face BY : David C Brown email (remove spam text)

I am trying to find some good 8 and 16 bit division routines for mid range
PICs.   Most of the app notes I have found give algorithms which result in
a quotient and remainder.

However in my case the divisor is always greater than the dividend so I
want a result that is conceptually between 0 and nearly 1 with an implied
binary point to the left.

I have written my own routines but I suspect that they are far from optimum..
David C Brown
43 Bings Road
Whaley Bridge
High Peak                           Phone: 01663 733236
Derbyshire                eMail: .....dcb.homespamspamgmail.com
SK23 7ND          web: http://www.bings-knowle.co.uk/dcb

*Sent from my etch-a-sketch*
-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive
View/change your membership options at

<CAFo_nNrrP-pkzd4t+65LLLrq7hj=EB8z6yKgLKyEGnjBaHtjtw@mail.gmail.com> quoted-printable

See also: www.piclist.com/techref/microchip/math/index.htm?key=division
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Division routines.

month overview.

new search...