Skip to content

Latest commit

 

History

History
133 lines (75 loc) · 2.5 KB

File metadata and controls

133 lines (75 loc) · 2.5 KB

FLOAT64_INV_TWO_PI

Inverse of twice the mathematical constant π (1/(2π)).

Usage

var FLOAT64_INV_TWO_PI = require( '@stdlib/constants/float64/inv-two-pi' );

FLOAT64_INV_TWO_PI

Inverse of twice the mathematical constant π (1/(2π)).

var bool = ( FLOAT64_INV_TWO_PI === 0.15915494309189535 );
// returns true

Examples

var FLOAT64_INV_TWO_PI = require( '@stdlib/constants/float64/inv-two-pi' );

console.log( FLOAT64_INV_TWO_PI );
// => 0.15915494309189535

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT64_INV_TWO_PI

Macro for the inverse of twice the mathematical constant π (1/(2π)).