From 6edbbf9d1640283becb13b6ef83aa7c3a03e2ff5 Mon Sep 17 00:00:00 2001 From: Neerajpathak07 Date: Sat, 15 Mar 2025 01:19:50 +0530 Subject: [PATCH 1/3] feat: add JS implementation --- .../float32/max-safe-nth-tribonacci/README.md | 183 ++++++++++++++++++ .../max-safe-nth-tribonacci/docs/repl.txt | 13 ++ .../docs/types/index.d.ts | 33 ++++ .../docs/types/test.ts | 28 +++ .../max-safe-nth-tribonacci/examples/index.js | 60 ++++++ .../float32/max_safe_nth_tribonacci.h | 27 +++ .../max-safe-nth-tribonacci/lib/index.js | 49 +++++ .../max-safe-nth-tribonacci/manifest.json | 36 ++++ .../max-safe-nth-tribonacci/package.json | 73 +++++++ .../max-safe-nth-tribonacci/test/test.js | 38 ++++ 10 files changed, 540 insertions(+) create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/examples/index.js create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/manifest.json create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json create mode 100644 lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md new file mode 100644 index 000000000000..680b4bcd060c --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md @@ -0,0 +1,183 @@ + + +# FLOAT32_MAX_SAFE_NTH_TRIBONACCI + +> Maximum safe nth [Tribonacci number][tribonacci-number] when stored in [single-precision floating-point][ieee754] format. + +
+ +## Usage + + + +```javascript +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float32/max-safe-nth-tribonacci' ); +``` + +#### FLOAT32_MAX_SAFE_NTH_TRIBONACCI + +Maximum [safe][safe-integers] nth [Tribonacci number][tribonacci-number] when stored in [single-precision floating-point][ieee754] format. + + + +```javascript +var bool = ( FLOAT32_MAX_SAFE_NTH_TRIBONACCI === 35 ); +// returns true +``` + +
+ + + +
+ +## Examples + + + + + +```javascript +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float32/max-safe-nth-tribonacci' ); + +function tribonacci( n ) { + var a; + var b; + var c; + var d; + var i; + + a = 0; + b = 0; + c = 1; + if ( n === 0 ) { + return a; + } + if ( n === 1 ) { + return b; + } + if ( n === 2 ) { + return c; + } + for ( i = 3; i <= n; i++ ) { + d = a + b + c; + a = b; + b = c; + c = d; + } + return c; +} + +var v; +var i; +for ( i = 0; i < 100; i++ ) { + v = tribonacci( i ); + if ( i > FLOAT32_MAX_SAFE_NTH_TRIBONACCI ) { + console.log( 'Unsafe: %d', v ); + } else { + console.log( 'Safe: %d', v ); + } +} +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/constants/float32/max_safe_nth_tribonacci.h" +``` + +#### STDLIB_CONSTANT_FLOAT32_MAX_SAFE_NTH_TRIBONACCI + +Maximum [safe][safe-integers] nth [Tribonacci number][tribonacci-number] when stored in [single-precision floating-point][ieee754] format. + +
+ + + + + +
+ +
+ + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt new file mode 100644 index 000000000000..a43364e284b8 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt @@ -0,0 +1,13 @@ + +{{alias}} + Maximum safe nth Tribonacci number when stored in single-precision + floating-point format. + + Examples + -------- + > {{alias}} + 35 + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts new file mode 100644 index 000000000000..3ad462876a56 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts @@ -0,0 +1,33 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Maximum safe nth Tribonacci number when stored in single-precision floating-point format. +* +* @example +* var max = FLOAT32_MAX_SAFE_NTH_TRIBONACCI; +* // returns 35 +*/ +declare const FLOAT32_MAX_SAFE_NTH_TRIBONACCI: number; + + +// EXPORTS // + +export = FLOAT32_MAX_SAFE_NTH_TRIBONACCI; diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/test.ts b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/test.ts new file mode 100644 index 000000000000..254b7f07546a --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/test.ts @@ -0,0 +1,28 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( './index' ); + + +// TESTS // + +// The export is a number... +{ + // eslint-disable-next-line @typescript-eslint/no-unused-expressions + FLOAT32_MAX_SAFE_NTH_TRIBONACCI; // $ExpectType number +} diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/examples/index.js b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/examples/index.js new file mode 100644 index 000000000000..55409e4b750e --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/examples/index.js @@ -0,0 +1,60 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); // eslint-disable-line id-length + +function tribonacci( n ) { + var a; + var b; + var c; + var d; + var i; + + a = 0; + b = 0; + c = 1; + if ( n === 0 ) { + return a; + } + if ( n === 1 ) { + return b; + } + if ( n === 2 ) { + return c; + } + for ( i = 3; i <= n; i++ ) { + d = a + b + c; + a = b; + b = c; + c = d; + } + return c; +} + +var v; +var i; +for ( i = 0; i < 100; i++ ) { + v = tribonacci( i ); + if ( i > FLOAT32_MAX_SAFE_NTH_TRIBONACCI ) { + console.log( 'Unsafe: %d', v ); + } else { + console.log( 'Safe: %d', v ); + } +} diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h new file mode 100644 index 000000000000..64bcbf4df0a1 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h @@ -0,0 +1,27 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#ifndef STDLIB_CONSTANTS_FLOAT32_MAX_SAFE_NTH_TRIBONACCI_H +#define STDLIB_CONSTANTS_FLOAT32_MAX_SAFE_NTH_TRIBONACCI_H + +/** +* Maximum safe nth Tribonacci number when stored in single-precision floating-point format. +*/ +#define STDLIB_CONSTANT_FLOAT32_MAX_SAFE_NTH_TRIBONACCI 35 + +#endif // !STDLIB_CONSTANTS_FLOAT32_MAX_SAFE_NTH_TRIBONACCI_H diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js new file mode 100644 index 000000000000..e4e7519338b1 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js @@ -0,0 +1,49 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Maximum safe nth Tribonacci number when stored in single-precision floating-point format. +* +* @module @stdlib/constants/float32/max-safe-nth-tribonacci +* @type {integer} +* +* @example +* var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float32/max-safe-nth-tribonacci' ); +* // returns 35 +*/ + + +// MAIN // + +/** +* Maximum safe nth Tribonacci number when stored in single-precision floating-point format. +* +* @constant +* @type {integer} +* @default 35 +* @see [Tribonacci number]{@link https://en.wikipedia.org/wiki/Tribonacci_number} +* @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} +*/ +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = 35|0; // eslint-disable-line id-length + + +// EXPORTS // + +module.exports = FLOAT32_MAX_SAFE_NTH_TRIBONACCI; diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/manifest.json b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/manifest.json new file mode 100644 index 000000000000..844d692f6439 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/manifest.json @@ -0,0 +1,36 @@ +{ + "options": {}, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "src": [], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [] + } + ] +} diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json new file mode 100644 index 000000000000..e2a6d1ac9597 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json @@ -0,0 +1,73 @@ +{ + "name": "@stdlib/constants/float32/max-safe-nth-tribonacci", + "version": "0.0.0", + "description": "Maximum safe nth Tribonacci number when stored in single-precision floating-point format.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "doc": "./docs", + "example": "./examples", + "include": "./include", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "constant", + "const", + "max", + "maximum", + "tribonacci", + "number", + "trib", + "safe", + "integer", + "double", + "dbl", + "floating", + "point", + "floating-point", + "float", + "float32", + "f32", + "ieee754" + ] +} diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js new file mode 100644 index 000000000000..8b626ec93291 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js @@ -0,0 +1,38 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); // eslint-disable-line id-length + + +// TESTS // + +tape( 'main export is a number', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof FLOAT32_MAX_SAFE_NTH_TRIBONACCI, 'number', 'main export is a number' ); + t.end(); +}); + +tape( 'the exported value is 35', function test( t ) { + t.strictEqual( FLOAT32_MAX_SAFE_NTH_TRIBONACCI, 35, 'returns expected value' ); + t.end(); +}); From d88b9d9770edc288872b2243211f816d76e12278 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 14 Mar 2025 14:30:37 -0700 Subject: [PATCH 2/3] chore: remove non-applicable keywords Signed-off-by: Athan --- .../constants/float32/max-safe-nth-tribonacci/package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json index e2a6d1ac9597..6c52d8ecc251 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/package.json @@ -60,8 +60,6 @@ "trib", "safe", "integer", - "double", - "dbl", "floating", "point", "floating-point", From 6f279ecd9a65462ff4e5e53668ff59d04b2ab785 Mon Sep 17 00:00:00 2001 From: Neerajpathak07 Date: Sat, 15 Mar 2025 09:43:03 +0530 Subject: [PATCH 3/3] chore: update return value --- .../constants/float32/max-safe-nth-tribonacci/README.md | 2 +- .../constants/float32/max-safe-nth-tribonacci/docs/repl.txt | 2 +- .../float32/max-safe-nth-tribonacci/docs/types/index.d.ts | 2 +- .../stdlib/constants/float32/max_safe_nth_tribonacci.h | 2 +- .../constants/float32/max-safe-nth-tribonacci/lib/index.js | 6 +++--- .../constants/float32/max-safe-nth-tribonacci/test/test.js | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md index 680b4bcd060c..1c3017b6ccb1 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/README.md @@ -39,7 +39,7 @@ Maximum [safe][safe-integers] nth [Tribonacci number][tribonacci-number] when st ```javascript -var bool = ( FLOAT32_MAX_SAFE_NTH_TRIBONACCI === 35 ); +var bool = ( FLOAT32_MAX_SAFE_NTH_TRIBONACCI === 30 ); // returns true ``` diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt index a43364e284b8..6b3aa08868bf 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/repl.txt @@ -6,7 +6,7 @@ Examples -------- > {{alias}} - 35 + 30 See Also -------- diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts index 3ad462876a56..f7713f5d9edb 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/docs/types/index.d.ts @@ -23,7 +23,7 @@ * * @example * var max = FLOAT32_MAX_SAFE_NTH_TRIBONACCI; -* // returns 35 +* // returns 30 */ declare const FLOAT32_MAX_SAFE_NTH_TRIBONACCI: number; diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h index 64bcbf4df0a1..957bf483f6c8 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/include/stdlib/constants/float32/max_safe_nth_tribonacci.h @@ -22,6 +22,6 @@ /** * Maximum safe nth Tribonacci number when stored in single-precision floating-point format. */ -#define STDLIB_CONSTANT_FLOAT32_MAX_SAFE_NTH_TRIBONACCI 35 +#define STDLIB_CONSTANT_FLOAT32_MAX_SAFE_NTH_TRIBONACCI 30 #endif // !STDLIB_CONSTANTS_FLOAT32_MAX_SAFE_NTH_TRIBONACCI_H diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js index e4e7519338b1..f014349f60df 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/lib/index.js @@ -26,7 +26,7 @@ * * @example * var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float32/max-safe-nth-tribonacci' ); -* // returns 35 +* // returns 30 */ @@ -37,11 +37,11 @@ * * @constant * @type {integer} -* @default 35 +* @default 30 * @see [Tribonacci number]{@link https://en.wikipedia.org/wiki/Tribonacci_number} * @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} */ -var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = 35|0; // eslint-disable-line id-length +var FLOAT32_MAX_SAFE_NTH_TRIBONACCI = 30|0; // eslint-disable-line id-length // EXPORTS // diff --git a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js index 8b626ec93291..0cbaae5d271e 100644 --- a/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js +++ b/lib/node_modules/@stdlib/constants/float32/max-safe-nth-tribonacci/test/test.js @@ -32,7 +32,7 @@ tape( 'main export is a number', function test( t ) { t.end(); }); -tape( 'the exported value is 35', function test( t ) { - t.strictEqual( FLOAT32_MAX_SAFE_NTH_TRIBONACCI, 35, 'returns expected value' ); +tape( 'the exported value is 30', function test( t ) { + t.strictEqual( FLOAT32_MAX_SAFE_NTH_TRIBONACCI, 30, 'returns expected value' ); t.end(); });