Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jun 21, 2024
1 parent 9946206 commit 05ddabc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4811,6 +4811,7 @@ A total of 29 people contributed to this release. Thank you to the following con

<details>

- [`377403b`](https://github.com/stdlib-js/stdlib/commit/377403b1ecb696a54e038b8750efd09481fe3ba0) - **test:** add missing tests for `math/base/special/cosd` [(#2418)](https://github.com/stdlib-js/stdlib/pull/2418) _(by Gunj Joshi)_
- [`c88dbaa`](https://github.com/stdlib-js/stdlib/commit/c88dbaaf68dd67dc5bdd7bb71ef9ed4ad01ef42a) - **test:** add missing tests for `math/base/special/tand` [(#2417)](https://github.com/stdlib-js/stdlib/pull/2417) _(by Gunj Joshi)_
- [`a50d33d`](https://github.com/stdlib-js/stdlib/commit/a50d33db8b44799d80958be0403f1315389b9c7c) - **feat:** add C implementation for `math/base/special/haversin` [(##2408)](#2408) _(by Gunj Joshi)_
- [`1ea46e9`](https://github.com/stdlib-js/stdlib/commit/1ea46e990236941d977d6dc872ba0475eab366e8) - **docs:** use correct function name in example in `math/base/special/hacoversin` [(##2409)](#2409 ) _(by Gunj Joshi)_
Expand Down
6 changes: 6 additions & 0 deletions base/special/cosd/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,9 @@ tape( 'if provided `-infinity`, the function returns `NaN`', function test( t )
t.equal( isnan( v ), true, 'returns NaN' );
t.end();
});

tape( 'if provided `90.0`, the function returns `0.0`', function test( t ) {
var v = cosd( 90.0 );
t.equal( v, 0.0, 'returns expected value' );
t.end();
});
6 changes: 6 additions & 0 deletions base/special/cosd/test/test.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,9 @@ tape( 'if provided `-infinity`, the function returns `NaN`', opts, function test
t.equal( isnan( v ), true, 'returns expected value' );
t.end();
});

tape( 'if provided `90.0`, the function returns `0.0`', opts, function test( t ) {
var v = cosd( 90.0 );
t.equal( v, 0.0, 'returns expected value' );
t.end();
});

0 comments on commit 05ddabc

Please sign in to comment.