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

chore: remove unused dependencies in C implementation #4940

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
// MAIN //

/**
* Computes the nth negaFibonacci number.

Check warning on line 29 in lib/node_modules/@stdlib/math/base/special/negafibonacci/lib/native.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "nega"
*
* @private
* @param {NonPositiveInteger} n - the negaFibonacci number to compute

Check warning on line 32 in lib/node_modules/@stdlib/math/base/special/negafibonacci/lib/native.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "nega"
* @returns {integer} negaFibonacci number

Check warning on line 33 in lib/node_modules/@stdlib/math/base/special/negafibonacci/lib/native.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "nega"
*
* @example
* var y = negafibonacci( 0 );
Expand Down Expand Up @@ -59,14 +59,6 @@
* @example
* var y = negafibonacci( -6 );
* // returns -8
*
* @example
* var y = negafibonacci( NaN );
* // returns NaN
*
* @example
* var y = negafibonacci( -3.14 );
* // returns NaN
*/
function negafibonacci( n ) {
return addon( n );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
"dependencies": [
"@stdlib/math/base/napi/unary",
"@stdlib/constants/float64/max-safe-nth-fibonacci",
"@stdlib/math/base/special/abs",
"@stdlib/math/base/assert/is-nan",
"@stdlib/math/base/assert/is-integer"
"@stdlib/math/base/special/abs"
]
},
{
Expand All @@ -55,9 +53,7 @@
"libpath": [],
"dependencies": [
"@stdlib/constants/float64/max-safe-nth-fibonacci",
"@stdlib/math/base/special/abs",
"@stdlib/math/base/assert/is-nan",
"@stdlib/math/base/assert/is-integer"
"@stdlib/math/base/special/abs"
]
},
{
Expand All @@ -72,9 +68,7 @@
"libpath": [],
"dependencies": [
"@stdlib/constants/float64/max-safe-nth-fibonacci",
"@stdlib/math/base/special/abs",
"@stdlib/math/base/assert/is-nan",
"@stdlib/math/base/assert/is-integer"
"@stdlib/math/base/special/abs"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include "stdlib/math/base/special/negafibonacci.h"
#include "stdlib/math/base/special/abs.h"
#include "stdlib/math/base/assert/is_nan.h"
#include "stdlib/math/base/assert/is_integer.h"
#include "stdlib/constants/float64/max_safe_nth_fibonacci.h"

static const double negafibonacci_value[ 79 ] = {
Expand Down
Loading