'Div_10 Re: Re: PICLIST Digest - 31 Aug 1997 to 1'
Bob Fehrenbach wrote:
> Dmitry Kiryashov <AHA.RU> wrote: zews
> >> Andy Shaw <VIRGIN.NET> wrote: andy.shaw
> >> >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)
Few modification according Bob improvement
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- New search...