FPE (II)                     9/2/72                      FPE (II)





NAME            fpe -- set floating exception handling



SYNOPSIS        sys fpe; arg / fpe = 40. not in assembler



DESCRIPTION     This call allows one to catch traps resulting

                from floating point exceptions.  Arg is a loca-

                tion within the program; floating exception traps

                are sent to that location.  The normal effect of

                floating exception traps may be restored by giv-

                ing an arg equal to 0.



                To return after catching the fpe trap, execute

                the rti instruction.



SEE ALSO        --



DIAGNOSTICS     --



BUGS            The floating point exception (FEC) register is

                not saved per process.  Examining this register

                for possible remedial action after a floating

                point exception trap is not guaranteed to work.