HP-UX Floating-Point Guide
Chapter 4 107
HP-UX Math Libraries on HP 9000 Systems
Math Library Basics
The most generally useful method of detecting errors is for the
application to check for an anomalous result and then to take
appropriate action.
What happens after the error depends on the following factors:
• Whether an exception trap for the error is enabled
• Whether the program contains an ON EXTERNAL ERROR statement
(HP FORTRAN/9000 only)
We discuss the possible sequences of events in the following sections. The
flowchart in Figure 4-3 summarizes HP Fortran 90 math library error
handling. The flowchart in Figure 4-4 summarizes HP FORTRAN/9000
math library error handling.
Figure 4-3 Fortran 90 Math Library Error Handling