EmbDev.net

Forum: µC & Digital Electronics SDCC math.h with LPC922


von Florian (Guest)


Rate this post
useful
not useful
Hello,
I am using an NXP P89LPC922 with Eclipse and SDCC. I need some 
mathematical functions and so I want so include <math.h> but Eclipse is 
saying: unresolved inclusion. I tried to find something about that in 
the documentation of SDCC but there is not much written. Can anyone help 
me on how to get mathematical functions to work with the LPC922?
Thanks in advance.

von Bernd N. (Guest)


Rate this post
useful
not useful
This has nothing to do with the SDCC compiler. Simply include math.h 
like...

#include <math.h>

and thats it.

von Florian (Guest)


Rate this post
useful
not useful
Thanks,

first include math.h was not working but I found the folder what its 
placed.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.