X02 Chapter Contents
X02 Chapter Introduction
NAG Library Manual

# NAG Library Routine DocumentX02ALF

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

X02ALF returns the largest positive floating point number.

## 2  Specification

 FUNCTION X02ALF ( )
 REAL (KIND=nag_wp) X02ALF

## 3  Description

X02ALF returns the largest positive number in the model of floating point arithmetic described in the X02 Chapter Introduction. The returned value is equal to $\left(1-{b}^{-p}\right)×{b}^{{e}_{\mathrm{max}}}$, where $b$ is the arithmetic base (see X02BHF) and ${e}_{\mathrm{max}}$ is the maximum exponent (see X02BLF) in the model.

None.

None.

None.

None.

None.

## 9  Example

See Section 9 in X02AJF.