@stdlib/constants-float64-half-pi

1/2 times π.

Usage no npm install needed!

<script type="module">
  import stdlibConstantsFloat64HalfPi from 'https://cdn.skypack.dev/@stdlib/constants-float64-half-pi';
</script>

README

1/2 times π

NPM version Build Status Coverage Status dependencies

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

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

Chat


License

See LICENSE.

Copyright

Copyright © 2016-2021. The Stdlib Authors.