Skip to content

Commit f369d9d

Browse files
committed
test: add tests for IEEE 754-2019 compliance
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5271c7a commit f369d9d

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,9 @@ tape( 'the function returns `NaN` if provided a value greater than `+1`', functi
140140
}
141141
t.end();
142142
});
143+
144+
tape( 'the function returns `0` if provided `1`', function test( t ) {
145+
var v = acos( 1.0 );
146+
t.equal( v, 0.0, 'returns expected value' );
147+
t.end();
148+
});

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,9 @@ tape( 'the function returns `NaN` if provided a value greater than `+1`', opts,
149149
}
150150
t.end();
151151
});
152+
153+
tape( 'the function returns `0` if provided `1`', opts, function test( t ) {
154+
var v = acos( 1.0 );
155+
t.equal( v, 0.0, 'returns expected value' );
156+
t.end();
157+
});

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,9 @@ tape( 'the function returns `NaN` if provided value less than `1`', function tes
156156
}
157157
t.end();
158158
});
159+
160+
tape( 'the function returns `0` if provided `1`', function test( t ) {
161+
var v = acosh( 1.0 );
162+
t.equal( v, 0.0, 'returns expected value' );
163+
t.end();
164+
});

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,9 @@ tape( 'the function returns `NaN` if provided value less than `1`', opts, functi
165165
}
166166
t.end();
167167
});
168+
169+
tape( 'the function returns `0` if provided `1`', opts, function test( t ) {
170+
var v = acosh( 1.0 );
171+
t.equal( v, 0.0, 'returns expected value' );
172+
t.end();
173+
});

0 commit comments

Comments
 (0)