HALF_PI

One half times the mathematical constant π.

Usage

var HALF_PI = require( '@stdlib/constants/float64/half-pi' );

HALF_PI

One half times the mathematical constant π.

var bool = ( HALF_PI === 1.5707963267948966 );
// returns true

Examples

var HALF_PI = require( '@stdlib/constants/float64/half-pi' );

console.log( HALF_PI );
// => 1.5707963267948966

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT64_HALF_PI

Macro for one half times the mathematical constant π.

Did you find this page helpful?