We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I am trying to use a float number using microvision2 and the LPC932, but everytime I try to compile it does not. If I make the float number an integer instead, then it works fine. What do I need to make this float number be accepted? Below are the header files I have included. Thanks! #include <Reg932.h> #include <stdio.h> #include <intrins.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <limits.h> #include <assert.h> #include <srom.h> #include <ctype.h> #include <setjmp.h> #include <stdarg.h> #include <stddef.h>
You wouldn't happen to be using an evaluation version of the compiler, would you? http://www.keil.com/demo/limits.htm states that floating point is not supported in the evaluation version.
Hi, I am using the version that comes with the emmulator EPM900 board. It is the 4k version. Thanks
Yep, no floating point with that version. http://www.keil.com/lpc/lpc900_studio.htm
Thanks Dan Henry. It is good to know that!