Regarding the sine lookup table given in the examples. I am confused how this was generated and how to get the value sine from this table.
The sine of 0 is 0 but value at subscript 0 of the table is 128 ?
How to lookup the sine of 45 for example ?
RLScott
Joined: 10 Jul 2007 Posts: 465
Re: Sine lookup table
Posted: Sat Apr 26, 2008 4:04 pm
ryan.reeve wrote:
Regarding the sine lookup table given in the examples. I am confused how this was generated and how to get the value sine from this table.
The sine of 0 is 0 but value at subscript 0 of the table is 128 ?
How to lookup the sine of 45 for example ?
I don't know what examples you mean. But if sin(0) = 128, then perhaps the table is interpretted as unsigned numbers that are offset by 128.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum