The mathematical constant π.
var PI = require( '@stdlib/constants/float64/pi' );
The mathematical constant π.
var bool = ( PI === 3.141592653589793 );
// returns true
var PI = require( '@stdlib/constants/float64/pi' );
console.log( PI );
// => 3.141592653589793
#include "stdlib/constants/float64/pi.h"
Macro for the mathematical constant π.