piclist 1996\05\29\080945a >
Thread: 16bit divide by 10
www.piclist.com/techref/method/math.htm?key=divide
flavicon
picon face BY : John B C Walker email (remove spam text)



Sorry, just realised, successive subtraction only works for integer
answers, of course.

J.W.


> David E. Queen wrote:
> >
> > I can save 600bytes in a lookup table if I can figure out a good way to
> > divide a 16 bit number by 10.
> >
> > I have the app notes with the general 16 math, but I need a smaller and
> > faster routine.
>

-----------------------------------------------------------------

       Johnnie Walker
       MSc Digital Systems Engineering
       Heriot-Watt University

       email: TakeThisOuTceejbcwspamKILLspamcee.hw.ac.uk
              ceejbwKILLspamspamspampp.hw.ac.uk
       www: http://www.cee.hw.ac.uk/~ceejbcw
       tel: (0131) 343 2864
       fax: (0131) 556 5501

_________________________________________________________________
<Pine.ULT.3.91.960529130824.4238A-100000@armati>

In reply to: <31AB799F.3FC@unix.sri.com>
See also: www.piclist.com/techref/method/math.htm?key=divide
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) 16bit divide by 10

month overview.

new search...