hide long namesshow long names
hide short namesshow short names
Integer type:  int32  int64  nag_int  show int32  show int32  show int64  show int64  show nag_int  show nag_int

PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

NAG Toolbox: nag_machine_complex_safe (x02an)

Purpose

nag_machine_complex_safe (x02an) returns the safe range of complex floating point arithmetic.

Syntax

[result] = x02an
[result] = nag_machine_complex_safe

Description

nag_machine_complex_safe (x02an) is defined to be the smallest positive model number zz such that for any xx in the range [z,1 / zz,1/z] the following can be computed without undue loss of accuracy, overflow, underflow or other error: where ww is any of xx, ixix, x + ixx+ix, 1 / x1/x, i / xi/x, 1 / x + i / x1/x+i/x, and ii is the square root of 1-1

References

None.

Parameters

Compulsory Input Parameters

None.

Optional Input Parameters

None.

Input Parameters Omitted from the MATLAB Interface

None.

Output Parameters

1:     result – double scalar
The result of the function.

Error Indicators and Warnings

None.

Accuracy

None.

Further Comments

None.

Example

function nag_machine_complex_safe_example
[result] = nag_machine_complex_safe
 

result =

  2.2251e-308


function x02an_example
[result] = x02an
 

result =

  2.2251e-308



PDF version (NAG web site, 64-bit version, 64-bit version)
Chapter Contents
Chapter Introduction
NAG Toolbox

© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2013