PI

The mathematical constant π.

Usage

var PI = require( '@stdlib/constants/float64/pi' );

PI

The mathematical constant π.

var bool = ( PI === 3.141592653589793 );
// returns true

Examples

var PI = require( '@stdlib/constants/float64/pi' );

console.log( PI );
// => 3.141592653589793

C APIs

Usage

#include "stdlib/constants/float64/pi.h"

STDLIB_CONSTANT_FLOAT64_PI

Macro for the mathematical constant π.

Did you find this page helpful?