@stdlib/constants-float32-sqrt-half-pi
v0.1.1
Published
Square root of 0.5π as a single-precision floating-point number.
Readme
FLOAT32_SQRT_HALF_PI
Square root of the mathematical constant π divided by 2 as a single-precision floating-point number.
Installation
npm install @stdlib/constants-float32-sqrt-half-piUsage
var FLOAT32_SQRT_HALF_PI = require( '@stdlib/constants-float32-sqrt-half-pi' );FLOAT32_SQRT_HALF_PI
Square root of the mathematical constant π divided by 2 as a single-precision floating-point number.
var bool = ( FLOAT32_SQRT_HALF_PI === 1.2533141374588013 );
// returns trueExamples
var FLOAT32_SQRT_HALF_PI = require( '@stdlib/constants-float32-sqrt-half-pi' );
console.log( FLOAT32_SQRT_HALF_PI );
// => 1.2533141374588013C APIs
Usage
#include "stdlib/constants/float32/sqrt_half_pi.h"STDLIB_CONSTANT_FLOAT32_SQRT_HALF_PI
Macro for the square root of the mathematical constant π divided by 2 as a single-precision floating-point number.
See Also
@stdlib/constants-float64/sqrt-half-pi: square root of 0.5π.
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-2026. The Stdlib Authors.
