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