Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add math/base/special/asind #1781

Merged
merged 8 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
  • Loading branch information
Planeshifter authored Mar 12, 2024
commit 46b53a6f0217ac0b740f7eed7366b8ee1af45550
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/special/asind/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ var v = asind( 0.0 );
v = asind( 0.5 );
// returns ~30.0

v = asind( sqrt( 2 ) / 2 );
v = asind( sqrt( 2.0 ) / 2.0 );
// returns ~45.0

v = asind( sqrt( 3 ) / 2 );
v = asind( sqrt( 3.0 ) / 2.0 );
// returns ~60.0

v = asind( NaN );
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

{{alias}}( x )
Computes the arcsine of a double-precision floating-point number.
Computes the arcsine (in degrees) of a double-precision floating-point
number.

If `|x| > 1`, the function returns `NaN`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
* // returns ~30.0
*
* @example
* var v = asind( Math.sqrt( 2 ) / 2 );
* var v = asind( Math.sqrt( 2.0 ) / 2.0 );
* // returns ~45.0
*
* @example
* var v = asind( Math.sqrt( 3 ) / 2 );
* var v = asind( Math.sqrt( 3.0 ) / 2.0 );
* // returns ~60.0
*
* @example
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/special/asind/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
* var v = asind( 0.5 );
* // returns ~30.0
*
* var v = asind( Math.sqrt( 2 ) / 2 );
* var v = asind( Math.sqrt( 2.0 ) / 2.0 );
* // returns ~45.0
*
* var v = asind( Math.sqrt( 3 ) / 2 );
* var v = asind( Math.sqrt( 3.0 ) / 2.0 );
* // returns ~60.0
*
* var v = asind( NaN );
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/special/asind/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ var asin = require( '@stdlib/math/base/special/asin' );
* // returns ~30.0
*
* @example
* var v = asind( Math.sqrt( 2 ) / 2 );
* var v = asind( Math.sqrt( 2.0 ) / 2.0 );
* // returns ~45.0
*
* @example
* var v = asind( Math.sqrt( 3 ) / 2 );
* var v = asind( Math.sqrt( 3.0 ) / 2.0 );
* // returns ~60.0
*
* @example
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stdlib/math/base/special/asind",
"version": "0.0.0",
"description": "Compute the arcsine(in degrees) of a double-precision floating-point number.",
"description": "Compute the arcsine (in degrees) of a double-precision floating-point number.",
"license": "Apache-2.0",
"author": {
"name": "The Stdlib Authors",
Expand All @@ -14,7 +14,6 @@
}
],
"main": "./lib",
"gypfile": true,
"directories": {
"benchmark": "./benchmark",
"doc": "./docs",
Expand Down
Loading