Page 1 of 1

COS_bin, SIN_bin and TAN_bin

Posted: Wed May 20, 2009 6:53 pm
by RegularKid
I'm just curious about how these are generated? ie. just so I understand the concept, what would the code look like to generate these tables? I can't seem to find what fixed point format their using.

Can someone be kind enough to show me what the C++ for creating these tables would look like?

Any help would be great, thanks!

Re: COS_bin, SIN_bin and TAN_bin

Posted: Thu May 21, 2009 4:27 pm
by weirdfox
I'm not sure that's what you need but this could help :
http://libnds.devkitpro.org/a00105.html#_details