Skip to content
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 @@ -23,21 +23,17 @@
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
var isIntegerf = require( '@stdlib/math/base/assert/is-integerf' );
var absf = require( '@stdlib/math/base/special/absf' );
var MAX_LUCAS = require( '@stdlib/constants/float32/max-safe-nth-lucas' );
var NEGALUCAS = require( './negalucas.json' );


// VARIABLES //

var MAX_LUCAS = 34;


// MAIN //

/**
* Computes the nth negalucas number in single-precision floating-point format.

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

View workflow job for this annotation

GitHub Actions / Lint Changed Files

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

Check warning on line 35 in lib/node_modules/@stdlib/math/base/special/negalucasf/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "negalucas"
* @returns {integer} negalucas number

Check warning on line 36 in lib/node_modules/@stdlib/math/base/special/negalucasf/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "negalucas"
*
* @example
* var y = negalucasf( 0 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"libpath": [],
"dependencies": [
"@stdlib/math/base/napi/unary",
"@stdlib/math/base/special/labs"
"@stdlib/math/base/special/labs",
"@stdlib/constants/float32/max-safe-nth-lucas"
]
},
{
Expand All @@ -51,7 +52,8 @@
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/math/base/special/labs"
"@stdlib/math/base/special/labs",
"@stdlib/constants/float32/max-safe-nth-lucas"
]
},
{
Expand All @@ -65,7 +67,8 @@
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/math/base/special/labs"
"@stdlib/math/base/special/labs",
"@stdlib/constants/float32/max-safe-nth-lucas"
]
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "stdlib/math/base/special/negalucasf.h"
#include "stdlib/math/base/special/labs.h"
#define STDLIB_CONSTANT_FLOAT32_MAX_SAFE_NTH_LUCAS 34
#include "stdlib/constants/float32/max_safe_nth_lucas.h"

static const int32_t negalucasf_value[ 35 ] = {
2,
Expand Down
Loading