Searching \ for 'Div_10 Re: Re: PICLIST Digest - 31 Aug 1997 to 1' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Div_10 Re: Re: PICLIST Digest - 31 Aug 1997 to 1'.

Truncated match.
PICList Thread
'Div_10 Re: Re: PICLIST Digest - 31 Aug 1997 to 1'
1997\09\06@104033 by Dmitry Kiryashov

flavicon
face
Bob Fehrenbach wrote:

> Dmitry Kiryashov <spam_OUTzewsTakeThisOuTspamAHA.RU> wrote:
> >> Andy Shaw <.....andy.shawKILLspamspam@spam@VIRGIN.NET> wrote:
> >> >Does anyone out there have any code for a reasonably
> >> >fast divide by 10 routine.


Yes , you right Bob . 26/256 is better aproximation than 25/256 .

1/10 = 25.6/256  ;)

err1 = 26/256-25.6/256 = 0.4/256
err2 = 25/256-25.6/256 = -0.6/256
abs(err1) < abs(err2)

{Quote hidden}

Few modification according Bob improvement

{Quote hidden}

WBR Dmitry.

More... (looser matching)
- Last day of these posts
- In 1997 , 1998 only
- Today
- New search...