A maths library is urgently needed for BrickOS. Someone
has already had a go at:
This only includes a few functions.
I would expect a full version of math.h to include the
following mathematical functions:
natural log (ln)
absolute value of a number (makes a number positive)