traper(3F)
NAME
traper − trap arithmetic errors
SYNOPSIS
integer function traper (mask)
DESCRIPTION
Integer overflow and floating point underflow are not normally trapped during execution. This routine enables zero, one, or both of these traps by setting status bits in the appropriate control registers. If the condition occurs and trapping is enabled, signal SIGFPE is sent to the process. (See signal(3C))
The argument mask has the following meaning:
value meaning
0 do not trap either condition
1 trap integer overflow only
2 trap floating underflow only
3 trap both the above
On Series 4000 systems only, floating underflow can be enabled or disabled and the value 1 has no meaning. The previous value of these bits is returned.
FILES
/usr/lib/libF77.a
SEE ALSO
NOTES
When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name.
CX/UX Hf77 Fortran Reference Manual