NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
X02 (Machine) Chapter Contents
X02 (Machine) Chapter Introduction
x02am:
FL
CL
CPP
AD
NAG CL Interface
X02AMC (real_safe)
Keyword Search:
NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
X02 (Machine) Chapter Contents
X02 (Machine) Chapter Introduction
x02am:
FL
CL
CPP
AD
▸
▿
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. 2020
Settings help
CL Name Style:
Short (
a00aac
)
Long (
impl_details
)
Full (
nag_info_impl_details
)
1
Purpose
X02AMC
returns the
safe range
of floating-point arithmetic.
2
Specification
copy
#include <nag.h>
double
X02AMC
The function may be called by the names:
x02amc
,
nag_machine_real_safe
or
nag_real_safe_small_number
.
3
Description
X02AMC
is a constant defined in the C Header file.
X02AMC
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
Not applicable.
8
Parallelism and Performance
X02AMC
is not threaded in any implementation.
9
Further Comments
None.
10
Example
None.
NAG Library Manual, Mark 27.1
Interfaces:
FL
CL
CPP
AD
NAG CL Interface Introduction
X02 (Machine) Chapter Contents
X02 (Machine) Chapter Introduction
x02am:
FL
CL
CPP
AD
© The Numerical Algorithms Group Ltd. 2020