trapov.3f

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3F 代码 · 共 54 行

3F
54
字号
.\" SCCSID: @(#)trapov.3f	8.1	9/11/90.\" michaud jan 9, l987, commented out reference to .\" range.3f because there is no manpage yet..TH trapov 3f VAX "" Unsupported.SH Nametrapov \- trap and repair floating point overflow.SH Syntax.B subroutine trapov (numesg, rtnval).br.B double precision rtnval.SH Description.NXR "trapov subroutine (FORTRAN)".NXR "floating point arithmetic" "trapping overflow".NXA "trapov subroutine (FORTRAN)" "trpfpe subroutine (FORTRAN)"NOTE: This routine applies only to the older VAX 11/780's.VAX computers made or upgraded since spring 1983 (REV 7)handle errors differently.See trpfpe(3f) for the newer error handler.This routine has always been ineffective on the VAX 11/750.It is a null routine on the PDP11..PPThis call sets up signal handlers to trap arithmetic exceptionsand the use of illegal operands.Trapping arithmetic exceptions allows the user's program to proceed frominstances of floating point overflow or divide by zero.The result of such operations will be an illegal floating point value.The subsequent use of the illegal operand will be trappedand the operand replaced by the specified value..PPThe first.I numesgoccurrences of a floating point arithmetic error will cause a messageto be written to the standard error file.If the resulting value is used, the value given for.I rtnvalwill replace the illegal operand generated by the arithmetic error.The.I rtnvalmust be a double precision value. For example, ``0d0'' or ``dflmax()''..SH RestrictionsOther arithmetic exceptions can be trapped but not repaired..PPThere is no way todistinguish between an integer value of 32768 and the illegalfloating point form.Therefore such an integer value may get replaced while repairingthe use of an illegal operand..SH Files.ie \nM /usr/ucb/lib/libF77.a.el /usr/lib/libF77.a.SH See Alsosignal(3f), trpfpe(3f).\" range(3f)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?