NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
X02 (machine) Chapter Contents
X02 (machine) Chapter Introduction
NAG Library Routine Document
x02amf (real_safe)
Keyword Search:
NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
X02 (machine) Chapter Contents
X02 (machine) Chapter Introduction
▸
▿
Contents
1
Purpose
2
Specification
3
Description
4
References
5
Arguments
6
Error Indicators and Warnings
7
Accuracy
8
Parallelism and Performance
9
Further Comments
10
Example
© The Numerical Algorithms Group Ltd. 2018
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 <nagmk26.h>
double
x02amf_ ()
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:
-
x
1
/
x
-
1
/
x
x
log
x
exp
log
x
y
log
x
/
log
y
for any
y
4
References
None.
5
Arguments
None.
6
Error Indicators and Warnings
None.
7
Accuracy
None.
8
Parallelism and Performance
x02amf
is not threaded in any implementation.
9
Further Comments
None.
10
Example
See
Section 10
in
x02ajf
.
NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
X02 (machine) Chapter Contents
X02 (machine) Chapter Introduction
© The Numerical Algorithms Group Ltd. 2018