Skip to content

Commit 70c7c70

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: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - 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: na - task: lint_license_headers status: passed ---
1 parent 9d68b72 commit 70c7c70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • lib/node_modules/@stdlib/constants/float16/pi-squared/test

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
@@ -25,7 +25,7 @@ var pow = require( '@stdlib/math/base/special/pow' );
2525
var absf = require( '@stdlib/math/base/special/absf' );
2626
var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' );
2727
var EPS = require( '@stdlib/constants/float16/eps' );
28-
var PI = require( '@stdlib/constants/float16/pi' );
28+
var PI = require( '@stdlib/constants/float32/pi' );
2929
var FLOAT16_PI_SQUARED = require( './../lib' );
3030

3131

@@ -37,7 +37,7 @@ 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.8671875', function test( t ) {
40+
tape( 'export is a half-precision floating-point number equal to 9.8671875', function test( t ) {
4141
t.strictEqual( FLOAT16_PI_SQUARED, 9.8671875, 'returns expected value' );
4242
t.end();
4343
});

0 commit comments

Comments
 (0)