@stdlib/constants-float64-half-pi
v0.2.2
Published
1/2 times π.
Downloads
183,117
Readme
HALF_PI
One half times the mathematical constant π.
Installation
npm install @stdlib/constants-float64-half-pi
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 π.
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.