COS_bin, SIN_bin and TAN_bin

support for the ARM toolchain
Post Reply
RegularKid
Posts: 1
Joined: Wed May 20, 2009 6:50 pm

COS_bin, SIN_bin and TAN_bin

Post by RegularKid » Wed May 20, 2009 6:53 pm

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!

weirdfox
Posts: 29
Joined: Thu Feb 19, 2009 8:45 am
Location: Montreal, Canada
Contact:

Re: COS_bin, SIN_bin and TAN_bin

Post by weirdfox » Thu May 21, 2009 4:27 pm

I'm not sure that's what you need but this could help :
http://libnds.devkitpro.org/a00105.html#_details
try, crash, debug and learn :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest