This manual relates to an old release of the Library.
The documentation for the current release is also available on this site.

NAG FL Interface
x01aaf (pi)

Settings help

FL Name Style:


FL Specification Language:


1 Purpose

x01aaf returns the numerical value of π.

2 Specification

Fortran Interface
Function x01aaf ( x)
Real (Kind=nag_wp) :: x01aaf
Real (Kind=nag_wp), Intent (In) :: x
C Header Interface
#include <nag.h>
double  x01aaf_ (double *x)
The routine may be called by the names x01aaf or nagf_math_pi.

3 Description

None.

4 References

None.

5 Arguments

1: x Real (Kind=nag_wp) Dummy

6 Error Indicators and Warnings

None.

7 Accuracy

The result should be correct to machine precision (see Chapter X02).

8 Parallelism and Performance

x01aaf is not threaded in any implementation.

9 Further Comments

None.

10 Example

None.