Math library

Because these routines may be quite essential in some occasions, we have also provided for a math library. Generally speaking, we have copied the routines from the ANSI library. However, these variants have no error trapping built in, as this is normally done using global variables. Also, we habe only included the variants which uses doubles, the float type is not supported by syslib.

These routines have no error trapping mechanism built in, but they will return special symbols when an error occurs :

overflow
return HUGE_VAL
underflow
return 0
zero divide
return infinity (which is NaN)
domain errors
return HUGE_VAL or -HUGE_VAL

PROGS, Professional & Graphical Software
last edited February 9, 1996