This manual relates to an old release of the Library.
The documentation for the current release is also available on this site.

X02ALF (PDF version)
X02 Chapter Contents
X02 Chapter Introduction
NAG Library Manual

NAG Library Routine Document

X02ALF

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.

+ Contents

    1  Purpose
    7  Accuracy
    9  Example

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 1- b-p × bemax , where b is the arithmetic base (see X02BHF) and emax  is the maximum exponent (see X02BLF) in the model.

4  References

None.

5  Parameters

None.

6  Error Indicators and Warnings

None.

7  Accuracy

None.

8  Further Comments

None.

9  Example

See Section 9 in X02AJF.

X02ALF (PDF version)
X02 Chapter Contents
X02 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2012