Hi Guys,
I need to use floats in my calculations. Does NB Eclipse recognize float? Do we have a math library file available here?
thanks
float type
Re: float type
Yes NB supports float
float somevar; // 4bytes I believe in the current implementation
double someOthervar; //8 bytes in the current implementation
If you want math routines
#include <math.h>
The standard c library routines are there.
float somevar; // 4bytes I believe in the current implementation
double someOthervar; //8 bytes in the current implementation
If you want math routines
#include <math.h>
The standard c library routines are there.
Re: float type
Hi GreenE,
Had you tried to multiply floats and it did not work correctly? Just wondering why you had suspected floating point was not supported.
Had you tried to multiply floats and it did not work correctly? Just wondering why you had suspected floating point was not supported.