NAG Library Function Document

nag_real_largest_number (X02ALC)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

1
Purpose

nag_real_largest_number (X02ALC) returns the largest positive floating-point number.

2
Specification

#include <nag.h>
#include <nagx02.h>
double  nag_real_largest_number

3
Description

nag_real_largest_number (X02ALC) is a constant defined in the C Header file.
nag_real_largest_number (X02ALC) 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 nag_real_base (X02BHC)) and emax  is the maximum exponent (see nag_real_max_exponent (X02BLC)) in the model.

4
References

None.

5
Arguments

None.

6
Error Indicators and Warnings

None.

7
Accuracy

None.

8
Parallelism and Performance

nag_real_largest_number (X02ALC) is not threaded in any implementation.

9
Further Comments

None.

10
Example

None.
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017