NAG C Library Function Document

nag_pi (X01AAC)

1
Purpose

nag_pi (X01AAC) returns the numerical value of π.

2
Specification

#include <nag.h>
#include <nagx01.h>
double  nag_pi

3
Description

nag_pi (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

nag_pi (X01AAC) is not threaded in any implementation.

9
Further Comments

None.

10
Example

None.