0.2.2 • Published 5 months ago
@stdlib/constants-float64-two-pi v0.2.2
TWO_PI
The mathematical constant π times 2.
Installation
npm install @stdlib/constants-float64-two-pi
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
.
See Also
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.