[A83] Re: Divide by 12


[Prev][Next][Index][Thread]

[A83] Re: Divide by 12



Citeren Martin <iemandiemand@xs4all.nl>:

> At 15:55 4-4-03 +0100, you wrote:
> > > I was wondering what would be the fastest way to divide by 12.
> >Using a LUT.
> 
> Unless you have a lot of space or really need the speed I wouldn't use a 
> LUT (lookup table).

If you generate the LUT at runtime (once at startup) to some save ram, space 
wouldn't be a problem (probably save you some mem, cause you don't have to 
write your own devide routine)...



References: