0.1.0 • Published 11 months ago

@stdlib/constants-float32-pi v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

FLOAT32_PI

NPM version Build Status Coverage Status

The mathematical constant π.

Installation

npm install @stdlib/constants-float32-pi

Usage

var FLOAT32_PI = require( '@stdlib/constants-float32-pi' );

FLOAT32_PI

The mathematical constant π.

var bool = ( FLOAT32_PI === 3.1415927410125732 );
// returns true

Examples

var FLOAT32_PI = require( '@stdlib/constants-float32-pi' );

console.log( FLOAT32_PI );
// => 3.1415927410125732

C APIs

Usage

#include "stdlib/constants/float32/pi.h"

STDLIB_CONSTANT_FLOAT32_PI

Macro for the mathematical constant π.


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-2024. The Stdlib Authors.