X02 Chapter Contents
X02 Chapter Introduction
NAG Library Manual

# NAG Library Routine DocumentX02AMF

Note:  before using this routine, please read the Users' Note for your implementation to check the interpretation of bold italicised terms and other implementation-dependent details.

## 1  Purpose

X02AMF returns the safe range of floating point arithmetic.

## 2  Specification

 FUNCTION X02AMF ( )
 REAL (KIND=nag_wp) X02AMF

## 3  Description

X02AMF is defined to be the smallest positive model number $z$ such that for any $x$ in the range [$z,1/z$] the following can be computed without undue loss of accuracy, overflow, underflow or other error:
• $-x$
• $1/x$
• $-1/x$
• $\sqrt{x}$
• $\mathrm{log}\left(x\right)$
• $\mathrm{exp}\left(\mathrm{log}\left(x\right)\right)$
• ${y}^{\left(\mathrm{log}\left(x\right)/\mathrm{log}\left(y\right)\right)}$ for any $y$

None.

None.

None.

None.