NAG FL Interface
x02alf (real_​largest)

Settings help

FL Name Style:


FL Specification Language:


1 Purpose

x02alf returns the largest positive floating-point number.

2 Specification

Fortran Interface
Function x02alf ( )
Real (Kind=nag_wp) :: x02alf
C Header Interface
#include <nag.h>
double  x02alf_ ()
The routine may be called by the names x02alf or nagf_machine_real_largest.

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 Arguments

None.

6 Error Indicators and Warnings

None.

7 Accuracy

Not applicable.

8 Parallelism and Performance

Background information to multithreading can be found in the Multithreading documentation.
x02alf is not threaded in any implementation.

9 Further Comments

None.

10 Example

See x02ajf.