piclist 1996\05\29\080115a >
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)



David,

Just a suggestion, use successive subtraction. I do when I divide a
11-bit number by 7 for one of my projects. Works well.

J.W.

On Tue, 28 May 1996, 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: @spam@ceejbcwKILLspamspamKILLspamcee.hw.ac.uk
              ceejbwRemoveMEspamspamBeGonepp.hw.ac.uk
       www: http://www.cee.hw.ac.uk/~ceejbcw
       tel: (0131) 343 2864
       fax: (0131) 556 5501

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

In reply to: <2.2.32.19960528195303.00ad8f4c@nnl.net>
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...