Log in

View Full Version : No Trig?


The Lucas
15-01-2004, 03:16
I wanted to use some trig functions in my robot program so I included math.h just like every other c program I ever wrote. To my surprise every trig function I could think of (sin, cos, tan, asin, etc...) was unrecognized by the complier.
I looked closer at the math.h file in the "mcc18/h" folder. It contained a definition for HUGE_VAL but nothing else. It talked about other functions but never defined them.
Do I need to include another file? Or where can I get a math.h file with trig functions defined? Please help.

FotoPlasma
15-01-2004, 04:07
http://www.chiefdelphi.com/forums/showthread.php?t=23172