NAG Library Manual, Mark 28.6
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X01 (Math) Chapter Contents
X01 (Math) Chapter Introduction
x01aa:
FL
CL
CPP
AD
PY
MB
NAG CL Interface
X01AAC (pi)
Keyword Search:
NAG Library Manual, Mark 28.6
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X01 (Math) Chapter Contents
X01 (Math) Chapter Introduction
x01aa:
FL
CL
CPP
AD
PY
MB
▸
▿
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. 2022
Settings help
CL Name Style:
Short (
a00aac
)
Long (
impl_details
)
Full (
nag_info_impl_details
)
1
Purpose
X01AAC
returns the numerical value of
π
.
2
Specification
copy
#include <nag.h>
double
X01AAC
The function may be called by the names:
x01aac
,
nag_math_pi
or
nag_pi
.
3
Description
X01AAC
is a constant defined in the C Header file.
4
References
None.
5
Arguments
None.
6
Error Indicators and Warnings
None.
7
Accuracy
The result should be correct to
machine precision
(see
Chapter
X02
).
8
Parallelism and Performance
Background information to multithreading can be found in the
Multithreading
documentation.
X01AAC
is not threaded in any implementation.
9
Further Comments
None.
10
Example
None.
NAG Library Manual, Mark 28.6
Interfaces:
FL
CL
CPP
AD
PY
MB
NAG CL Interface Introduction
X01 (Math) Chapter Contents
X01 (Math) Chapter Introduction
x01aa:
FL
CL
CPP
AD
PY
MB
© The Numerical Algorithms Group Ltd. 2022