nag_pi (X01AAC) (PDF version)
x01 Chapter Contents
x01 Chapter Introduction
NAG Library Manual

NAG Library Function Document

nag_pi (X01AAC)

 Contents

    1  Purpose
    7  Accuracy
    10  Example

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

Not applicable.

9  Further Comments

None.

10  Example

None.

nag_pi (X01AAC) (PDF version)
x01 Chapter Contents
x01 Chapter Introduction
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2015