GP32 I cannot sin! (or cos or tan...)


DuderJace

Still Fresh
Joined
Mar 5, 2003
Messages
77
Age
46
Hello! I downloaded the ready set-up environment from www.thaworx.co.uk/ninja,
I've done a few really simple programs just to check i remembered how to code. They all worked okay until I tried one using math.h and the sine / cosine etc. stuff. It kept saying 'undefined function sin ....' I know the processor doesn't do floating point math/division and things, but that shouldn't have any effect on programming in c should it?
Thanks for any help. Jace.

DuderJace@aol.com
 
Why dont you try to use a sin table, i have one on my site, it was donated to me by mithris. but i have made extra functions in it.
 
I'm using the Makefile that was included, it says that it isn't doing linking. Seems a bit strange.
I might have a go at using a table instead. It would be a lot quicker.
 
Back
Top