NAG FL Interface
x02amf (real_​safe)

1 Purpose

x02amf returns the safe range of floating-point arithmetic.

2 Specification

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

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:

4 References

None.

5 Arguments

None.

6 Error Indicators and Warnings

None.

7 Accuracy

Not applicable.

8 Parallelism and Performance

x02amf is not threaded in any implementation.

9 Further Comments

None.

10 Example

See Section 10 in x02ajf.