Skip to content

Commit 3cee654

Browse files
committed
chore: changes according to code review
--- 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 03a1e9f commit 3cee654

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

lib/node_modules/@stdlib/math/base/special/asechf/test/fixtures/julia/data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/math/base/special/asechf/test/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ tape( 'the function returns `NaN` for negative values', function test( t ) {
9999
t.end();
100100
});
101101

102+
tape( 'the function returns `NaN` for negative zero', function test( t ) {
103+
var v = asechf( -0.0 );
104+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
105+
t.end();
106+
});
107+
102108
tape( 'the function returns `NaN` for values greater than 1', function test( t ) {
103109
var v = asechf( 2.0 );
104110
t.strictEqual( isnanf( v ), true, 'returns NaN' );

lib/node_modules/@stdlib/math/base/special/asechf/test/test.native.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ tape( 'the function returns `NaN` for negative values', opts, function test( t )
105105
t.end();
106106
});
107107

108+
tape( 'the function returns `NaN` for negative zero', opts, function test( t ) {
109+
var v = asechf( -0.0 );
110+
t.strictEqual( isnanf( v ), true, 'returns NaN' );
111+
t.end();
112+
});
113+
108114
tape( 'the function returns `NaN` for values greater than 1', opts, function test( t ) {
109115
var v = asechf( 2.0 );
110116
t.strictEqual( isnanf( v ), true, 'returns NaN' );

0 commit comments

Comments
 (0)