FLOAT32_PI

The mathematical constant π.

Usage

var FLOAT32_PI = require( '@stdlib/constants/float32/pi' );

FLOAT32_PI

The mathematical constant π.

var bool = ( FLOAT32_PI === 3.1415927410125732 );
// returns true

Examples

var FLOAT32_PI = require( '@stdlib/constants/float32/pi' );

console.log( FLOAT32_PI );
// => 3.1415927410125732

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_PI

Macro for the mathematical constant π.

Did you find this page helpful?