TRAPER(3F) COMMAND REFERENCE TRAPER(3F) NAME traper - trap arithmetic errors SYNOPSIS integer function traper (mask) DESCRIPTION Floating point roundoff errors and floating point underflow are not normally trapped during execution. This routine enables these traps by setting status bits in the floating point status register. These bits remain set throughout the execution of a program, and the previous state is restored only upon exit of the program or through another call to traper. If the condition occurs and trapping is enabled, signal SIGFPE is sent to the process. (See signal(3c).) The mask has the following meaning: Value Meaning 0 Do not trap either condition. 1 Trap inexact results (roundoff) only. 2 Trap floating underflow only. 3 Trap both the above. The previous value of these bits is returned. FILES /usr/lib/libF77.a f77 intrinsic function (math) and startup library. RETURN VALUE The previous value of the mask bits is returned. SEE ALSO signal(3c) and signal(3f). Printed 3/13/89 1
%%index%% na:312,83; sy:395,396; de:791,1035; fi:1826,227; rv:2053,186; se:2239,159; %%index%%000000000108