NAG FL Interface
x02anf (complex_​safe)

Settings help

FL Name Style:

FL Specification Language:

1 Purpose

x02anf returns the safe range of complex floating-point arithmetic.

2 Specification

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

3 Description

x02anf 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: where w is any of x, ix, x+ix, 1/x, i/x, 1/x+i/x, and i is the square root of −1.

4 References


5 Arguments


6 Error Indicators and Warnings


7 Accuracy

Not applicable.

8 Parallelism and Performance

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

9 Further Comments


10 Example

See x02ajf.