HP-UX Floating-Point Guide

102 Chapter 4
HP-UX Math Libraries on HP 9000 Systems
Math Library Basics
The following section, which describes what happens when a program
calls a math library function, provides some answers to questions 1
through 4.
Anatomy of a Math Library Function Call
Figure 4-1 shows a generalized flowchart of a math library function call,
applicable to all languages and standards. The figure and the discussion
that follows assume that the function takes one argument, but they also
apply to functions that take more than one argument. (The actual logic of
a call may be less orderly; for example, argument checking may occur in
more than one place.)
Figure 4-1 Anatomy of a Math Library Call
Steps A through E of this process are described below.