Math and
MathL lacks of many needed math functions

For example,
arccos,
arctan2,
power,
tan...
Actually,
arctan2 is very easy to realize.
The only change needed (example for
MathL) is to replace existing inline
-Arctan with this:
PROCEDURE -Arctan(x, y: LONGREAL): LONGREAL;
CODE {SYSTEM.i386, SYSTEM.FPU}
FLD QWORD [ESP]
FLD QWORD 8[ESP]
DB 0D9H, 0F3H (* FPATAN ST(1)/ST(0) *)
ADD ESP, 16
END Arctan;
, change existing
arctan a little:
PROCEDURE arctan*(x: LONGREAL): LONGREAL;
BEGIN
RETURN Arctan2(1, x)
END arctan;
, and add
arctan2 code:
PROCEDURE arctan2*(x, y: LONGREAL): LONGREAL;
BEGIN
RETURN Arctan2(x, y)
END arctan2;