Cold Help System: Programming: ColdC Reference Manual: Functions: Numeric: Math


FLOAT sin(FLOAT x)
FLOAT exp(FLOAT x)
FLOAT log(FLOAT x)
FLOAT cos(FLOAT x)
FLOAT tan(FLOAT x)
FLOAT sqrt(FLOAT x)
FLOAT asin(FLOAT x)
FLOAT acos(FLOAT x)
FLOAT atan(FLOAT x)
FLOAT pow(FLOAT x, FLOAT y)
FLOAT atan2(FLOAT x, FLOAT y)

These functions perform the relevant mathematic function on the argument(s) and returns the result. Further information on each function can be found in the unix man page on the same relative function, in C. The precision of the function may vary by the implementation. If a floating point exception occurs, the error ~fpe is thrown.


abs() | Math | max() | min() | random()


the Cold Dark