documentation maths.c