File tree Expand file tree Collapse file tree 6 files changed +12
-11
lines changed
lib/node_modules/@stdlib/constants/float32/sqrt-pi
include/stdlib/constants/float32 Expand file tree Collapse file tree 6 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ limitations under the License.
2020
2121# FLOAT32_SQRT_PI
2222
23- > Square root of single-precision floating-point mathematical constant [ π] [ @stdlib/constants/float64 /pi ] .
23+ > Square root of the mathematical constant [ π] [ @stdlib/constants/float32 /pi ] as a single-precision floating-point number .
2424
2525<section class =" usage " >
2626
@@ -32,7 +32,7 @@ var FLOAT32_SQRT_PI = require( '@stdlib/constants/float32/sqrt-pi' );
3232
3333#### FLOAT32_SQRT_PI
3434
35- Square root of single-precision floating-point mathematical constant [ π] [ @stdlib/constants/float64 /pi ] .
35+ Square root of the mathematical constant [ π] [ @stdlib/constants/float32 /pi ] as a single-precision floating-point number .
3636
3737``` javascript
3838var bool = ( FLOAT32_SQRT_PI === 1.7724539041519165 );
@@ -90,7 +90,7 @@ console.log( FLOAT32_SQRT_PI );
9090
9191#### STDLIB_CONSTANT_FLOAT32_SQRT_PI
9292
93- Macro for the square root of single-precision floating-point mathematical constant [ π] [ @stdlib/constants/float64 /pi ] .
93+ Macro for the square root of the mathematical constant [ π] [ @stdlib/constants/float32 /pi ] as a single-precision floating-point number .
9494
9595</section >
9696
@@ -130,7 +130,7 @@ Macro for the square root of single-precision floating-point mathematical consta
130130
131131<!-- <related-links> -->
132132
133- [ @stdlib/constants/float64 /pi ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float64 /pi
133+ [ @stdlib/constants/float32 /pi ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/constants/float32 /pi
134134
135135<!-- </related-links> -->
136136
Original file line number Diff line number Diff line change 11
22{{alias}}
3- Square root of single-precision floating-point mathematical constant `π`.
3+ Square root of the mathematical constant `π` as a single-precision
4+ floating-point number.
45
56 Examples
67 --------
Original file line number Diff line number Diff line change 1919// TypeScript Version: 4.1
2020
2121/**
22- * Square root of single-precision floating-point mathematical constant `π`.
22+ * Square root of the mathematical constant `π` as a single-precision floating-point number .
2323*
2424* @example
2525* var val = FLOAT32_SQRT_PI;
Original file line number Diff line number Diff line change 2020#define STDLIB_CONSTANTS_FLOAT32_SQRT_PI_H
2121
2222/**
23- * Macro for the square root of single-precision floating-point mathematical constant `π`.
23+ * Macro for the square root of the mathematical constant `π` as a single-precision floating-point number .
2424*/
2525#define STDLIB_CONSTANT_FLOAT32_SQRT_PI 1.7724539041519165f
2626
Original file line number Diff line number Diff line change 1919'use strict' ;
2020
2121/**
22- * Square root of single-precision floating-point mathematical constant `π`.
22+ * Square root of the mathematical constant `π` as a single-precision floating-point number .
2323*
2424* @module @stdlib /constants/float32/sqrt-pi
2525* @type {number }
@@ -37,15 +37,15 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
3737// MAIN //
3838
3939/**
40- * Square root of single-precision floating-point mathematical constant `π`.
40+ * Square root of the mathematical constant `π` as a single-precision floating-point number .
4141*
4242* @constant
4343* @type {number }
4444* @default 1.7724539041519165
4545* @see [OEIS]{@link https://oeis.org/A002161}
4646* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/Pi}
4747*/
48- var FLOAT32_SQRT_PI = float64ToFloat32 ( 1.772453850905516027298167483341145182797549456122387128213 ) ;
48+ var FLOAT32_SQRT_PI = float64ToFloat32 ( 1.772453850905516027298167483341145182797549456122387128213 ) ; // eslint-disable-line max-len
4949
5050
5151// EXPORTS //
Original file line number Diff line number Diff line change 11{
22 "name" : " @stdlib/constants/float32/sqrt-pi" ,
33 "version" : " 0.0.0" ,
4- "description" : " Square root of single-precision floating-point mathematical constant π ." ,
4+ "description" : " Square root of the mathematical constant `π` as a single-precision floating-point number ." ,
55 "license" : " Apache-2.0" ,
66 "author" : {
77 "name" : " The Stdlib Authors" ,
You can’t perform that action at this time.
0 commit comments