TWO_PI
The mathematical constant π times 2.
Usage
var TWO_PI = require( '@stdlib/constants/float64/two-pi' );
TWO_PI
The mathematical constant π times 2
.
var bool = ( TWO_PI === 6.283185307179586 );
// returns true
Examples
var TWO_PI = require( '@stdlib/constants/float64/two-pi' );
console.log( TWO_PI );
// => 6.283185307179586
C APIs
Usage
#include "stdlib/constants/float64/two_pi.h"
STDLIB_CONSTANT_FLOAT64_TWO_PI
Macro for the mathematical constant π times 2
.