If , then the answer will have no precision. If , the answer will be less accurate than half precision. Here, ɛ = AMACH(4) is the machine precision. Finally, x should be less than xmax so the answer does not underflow. Very approximately, xmax = {‑1.5 ln s}, where s = AMACH(1), the smallest representable positive number. If underflows are a problem for large x, then the exponentially scaled routine AIE should be used.
Comments
Informational Error
Type
Code
Description
2
1
The function underflows because X is greater than XMAX, where XMAX = (‑3/2 ln(AMACH(1))) 2∕3.
Example
In this example, Ai(–4.9) is computed and printed.