Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 π.


See Also