NAG Library Chapter Introduction

x01 – Mathematical Constants

 Contents

1
Scope of the Chapter

This chapter is concerned with the provision of mathematical constants required by other functions within the Library.
These constants are not functions, but they are defined in the header file <nagx01.h>.

2
Background to the Problems

Some Library functions require mathematical constants. These functions call Chapter x01 and thus lessen the number of changes that have to be made between different implementations of the Library.

3
Recommendations on Choice and Use of Available Functions

Although these functions are primarily intended for use by other functions they may be accessed directly by you.
Euler's constant, γ nag_euler_constant (X01ABC)
π nag_pi (X01AAC)

4
Functions Withdrawn or Scheduled for Withdrawal

None.
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017