Michael Muller

Problems with using math.h on coldfire m52235

Discussion created by Michael Muller on Jan 16, 2007
Latest reply on Jan 17, 2007 by Nouchi
We are using Codewarrior 6.3 to program a Coldfire mcf52235 for a students project and are experiencing problems using math functions. Although including "math.h", the compiler cant find the functions like "sin", "round" etc. (e.g. Undefined: "sin")
This is the both the case compiling with UART-Debug or Console Debug.
Looking into the "math.h" (and any files used in it) we don't find no function declarations whatsoever.
Can anybody tell us, if we forgot anything for using math functions, or if theres another math-file for downloading in case we are just having a weird math-file ?
Also, we read somewhere to adjust the project to using floatingpoint when creating it, does it have to do anything with using math-functions? However we see no such options when generating a new project.
Thank you very much in advance,
HAL & team