NAG Library Routine Document

x02anf  (complex_safe)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

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 nagmk26.h
double  x02anf_ ()

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

None.

5
Arguments

None.

6
Error Indicators and Warnings

None.

7
Accuracy

None.

8
Parallelism and Performance

x02anf is not threaded in any implementation.

9
Further Comments

None.

10
Example

See Section 10 in x02ajf.
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017