Re: A86: Lookup tables


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

Re: A86: Lookup tables




Jimmy Mårdell wrote:

> At 22:47 1998-06-02 EDT, you wrote:
> >Wouldn't fetching the answer in itself involve multiplication?  I'm
> >having trouble thinknig of how to explain this, but how would you be able
> >to know where to look in the table without multiplication?
>
> No. It's not that easy though, if you decide to skip half of
> the lookup table:
>
>     0  1  2  3  4  5  6  7  8  9
>  ---------------------------------
> 0   0  0  0  0  0  0  0  0  0  0
> 1      1  2  3  4  5  6  7  8  9
> 2         4  6  8 10 12 14 16 18
> 3            9 12 15 18 21 24 27
>

That's not skipping exactly half.  You are skipping a little less than half,
but close enough. :)

--
Bryan Rabeler <brabeler@ticalc.org>
   File Archives, HTML, and Support
   the ticalc.org project - http://www.ticalc.org/



Follow-Ups: References: