Skip to content

Commit 9d68b72

Browse files
feat: adding the value of pi-squared for float16 chores
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 434062a commit 9d68b72

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/node_modules/@stdlib/constants/float16/pi-squared/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var FLOAT16_PI_SQUARED = require( '@stdlib/constants/float16/pi-squared' );
3535
Square of the mathematical constant [π][@stdlib/constants/float16/pi].
3636

3737
```javascript
38-
var bool = ( FLOAT16_PI_SQUARED === 9.859375 );
38+
var bool = ( FLOAT16_PI_SQUARED === 9.8671875 );
3939
// returns true
4040
```
4141

@@ -55,7 +55,7 @@ var bool = ( FLOAT16_PI_SQUARED === 9.859375 );
5555
var FLOAT16_PI_SQUARED = require( '@stdlib/constants/float16/pi-squared' );
5656

5757
console.log( FLOAT16_PI_SQUARED );
58-
// => 9.859375
58+
// => 9.8671875
5959
```
6060

6161
</section>

lib/node_modules/@stdlib/constants/float16/pi-squared/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Examples
66
--------
77
> {{alias}}
8-
9.859375
8+
9.8671875
99

1010
See Also
1111
--------

lib/node_modules/@stdlib/constants/float16/pi-squared/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* @example
2525
* var val = FLOAT16_PI_SQUARED;
26-
* // returns 9.859375
26+
* // returns 9.8671875
2727
*/
2828
declare const FLOAT16_PI_SQUARED: number;
2929

lib/node_modules/@stdlib/constants/float16/pi-squared/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
var FLOAT16_PI_SQUARED = require( './../lib' );
2222

2323
console.log( FLOAT16_PI_SQUARED );
24-
// => 9.859375
24+
// => 9.8671875

lib/node_modules/@stdlib/constants/float16/pi-squared/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @example
2828
* var FLOAT16_PI_SQUARED = require( '@stdlib/constants/float16/pi-squared' );
29-
* // returns 9.859375
29+
* // returns 9.8671875
3030
*/
3131

3232
// MODULES //
@@ -41,10 +41,10 @@ var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' );
4141
*
4242
* @constant
4343
* @type {number}
44-
* @default 9.859375
44+
* @default 9.8671875
4545
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/Pi}
4646
*/
47-
var FLOAT16_PI_SQUARED = float64ToFloat16( 9.859375 );
47+
var FLOAT16_PI_SQUARED = float64ToFloat16( 9.8671875 );
4848

4949

5050
// EXPORTS //

lib/node_modules/@stdlib/constants/float16/pi-squared/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ tape( 'main export is a number', function test( t ) {
3737
t.end();
3838
});
3939

40-
tape( 'export is a single-precision floating-point number equal to 9.859375', function test( t ) {
41-
t.strictEqual( FLOAT16_PI_SQUARED, 9.859375, 'returns expected value' );
40+
tape( 'export is a single-precision floating-point number equal to 9.8671875', function test( t ) {
41+
t.strictEqual( FLOAT16_PI_SQUARED, 9.8671875, 'returns expected value' );
4242
t.end();
4343
});
4444

0 commit comments

Comments
 (0)