nag_complex_safe_small_number (X02ANC) (PDF version)
x02 Chapter Contents
x02 Chapter Introduction
NAG Library Manual

NAG Library Function Document

nag_complex_safe_small_number (X02ANC)

+ Contents

    1  Purpose
    7  Accuracy
    10  Example

1  Purpose

nag_complex_safe_small_number (X02ANC) returns the safe range of complex floating-point arithmetic.

2  Specification

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

3  Description

nag_complex_safe_small_number (X02ANC) is a constant defined in the C Header file.
nag_complex_safe_small_number (X02ANC) 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

Not applicable.

9  Further Comments

None.

10  Example

None.

nag_complex_safe_small_number (X02ANC) (PDF version)
x02 Chapter Contents
x02 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2014