F>=1 .if 3F<=8 . if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program- TRAPER(3F) BSD Reference Manual TRAPER(3F) mer's Manual NNAAMMEE traper - trap arithmetic errors SSYYNNOOPPSSIISS iinntteeggeerr ffuunnccttiioonn ttrraappeerr ((mmaasskk)) DDEESSCCRRIIPPTTIIOONN NNOOTTEE:: TThhiiss rroouuttiinnee aapppplliieess oonnllyy ttoo tthhee VVAAXX.. IItt iiss iiggnnoorreedd oonn tthhee PPDDPP1111.. Integer overflow and floating point underflow are not nor- mally trapped during execution. This routine enables these traps by setting status bits in the process status word. These bits are reset on entry to a subprogram, and the previous state is restored on return. Therefore, this routine must be called _i_n_s_i_d_e each subprogram in which these conditions should be trapped. If the condition occurs and trapping is enabled, signal SIGFPE is sent to the process. (See _s_i_g_n_a_l(3C)) The argument 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 The previous value of these bits is returned. FFIILLEESS /usr/lib/libF77.a SSEEEE AALLSSOO signal(3C), signal(3F) 4.2 Berkeley Distribution June 5, 1993 1