floating point math is no longer an issue with brickOS. It used to be, but is
not anymore. Use a double
the way you normally would, but keep in mind
that it's often much slower than integer math.
keep in mind that integers in brickOS are only 16-bits. This means that the maximum
values an integer and an unsigned integer can have are 32767 and 65535, respectively.
So don't do something like "int big_number=100000;
"
Advanced math routines are available for use in brickOS. If you want to use any of the following functions, speak to a TA.
#include <math.h>