From 24835b6fae73312fb5eda3dbf283cb2bb93ece67 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Mon, 2 Dec 2024 23:38:02 +0530 Subject: [PATCH 1/5] feat: add constants/float32/max-safe-nth-tribonacci --- .../float64/max-safe-nth-tribonacci/README.md | 184 ++++++++++++++++++ .../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 | 61 ++++++ .../float64/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, 542 insertions(+) create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/include/stdlib/constants/float64/max_safe_nth_tribonacci.h create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/manifest.json create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/package.json create mode 100644 lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md new file mode 100644 index 000000000000..8b1c9c8a9dd6 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md @@ -0,0 +1,184 @@ + + +# FLOAT64_MAX_SAFE_NTH_TRIBONACCI + +> Maximum safe nth [Tribonacci number][tribonacci-number] when stored in [double-precision floating-point][ieee754] format. + +
+ +## Usage + + + +```javascript +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float64/max-safe-nth-tribonacci' ); +``` + +#### FLOAT64_MAX_SAFE_NTH_TRIBONACCI + +Maximum [safe][safe-integers] nth [Tribonacci number][tribonacci-number] when stored in [double-precision floating-point][ieee754] format. + + + +```javascript +var bool = ( FLOAT64_MAX_SAFE_NTH_TRIBONACCI === 63 ); +// returns true +``` + +
+ + + +
+ +## Examples + + + + + +```javascript +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float64/max-safe-nth-tribonacci' ); + +var v; +var i; + +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; +} + +for ( i = 0; i < 100; i++ ) { + v = tribonacci( i ); + if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) { + console.log( 'Unsafe: %d', v ); + } else { + console.log( 'Safe: %d', v ); + } +} +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/constants/float64/max_safe_nth_tribonacci.h" +``` + +#### STDLIB_CONSTANT_FLOAT64_MAX_SAFE_NTH_TRIBONACCI + +Maximum [safe][safe-integers] nth [Tribonacci number][tribonacci-number] when stored in [double-precision floating-point][ieee754] format. + +
+ + + + + +
+ +
+ + + + + +
+ +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/repl.txt b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/repl.txt new file mode 100644 index 000000000000..8228c9706e65 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/repl.txt @@ -0,0 +1,13 @@ + +{{alias}} + Maximum safe nth Tribonacci number when stored in double-precision + floating-point format. + + Examples + -------- + > {{alias}} + 63 + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/index.d.ts new file mode 100644 index 000000000000..bf85fb6c1bda --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/index.d.ts @@ -0,0 +1,33 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 double-precision floating-point format. +* +* @example +* var max = FLOAT64_MAX_SAFE_NTH_TRIBONACCI; +* // returns 63 +*/ +declare const FLOAT64_MAX_SAFE_NTH_TRIBONACCI: number; + + +// EXPORTS // + +export = FLOAT64_MAX_SAFE_NTH_TRIBONACCI; diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/test.ts b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/test.ts new file mode 100644 index 000000000000..fd1e495e6485 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/docs/types/test.ts @@ -0,0 +1,28 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './index' ); + + +// TESTS // + +// The export is a number... +{ + // eslint-disable-next-line @typescript-eslint/no-unused-expressions + FLOAT64_MAX_SAFE_NTH_TRIBONACCI; // $ExpectType number +} diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js new file mode 100644 index 000000000000..3f9efbbade67 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js @@ -0,0 +1,61 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); + +var v; +var i; + +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; +} + +for ( i = 0; i < 100; i++ ) { + v = tribonacci( i ); + if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) { + console.log( 'Unsafe: %d', v ); + } else { + console.log( 'Safe: %d', v ); + } +} diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/include/stdlib/constants/float64/max_safe_nth_tribonacci.h b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/include/stdlib/constants/float64/max_safe_nth_tribonacci.h new file mode 100644 index 000000000000..1c3c96f4ce0b --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/include/stdlib/constants/float64/max_safe_nth_tribonacci.h @@ -0,0 +1,27 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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_FLOAT64_MAX_SAFE_NTH_TRIBONACCI_H +#define STDLIB_CONSTANTS_FLOAT64_MAX_SAFE_NTH_TRIBONACCI_H + +/** +* Maximum safe nth Tribonacci number when stored in single-precision floating-point format. +*/ +#define STDLIB_CONSTANT_FLOAT64_MAX_SAFE_NTH_TRIBONACCI 63 + +#endif // !STDLIB_CONSTANTS_FLOAT64_MAX_SAFE_NTH_TRIBONACCI_H diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js new file mode 100644 index 000000000000..bca2f9c9798c --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js @@ -0,0 +1,49 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 double-precision floating-point format. +* +* @module @stdlib/constants/float64/max-safe-nth-tribonacci +* @type {integer} +* +* @example +* var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float64/max-safe-nth-tribonacci' ); +* // returns 63 +*/ + + +// MAIN // + +/** +* Maximum safe nth Tribonacci number when stored in double-precision floating-point format. +* +* @constant +* @type {integer} +* @default 63 +* @see [Tribonacci number]{@link https://en.wikipedia.org/wiki/Tribonacci_number} +* @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} +*/ +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = 63|0; // asm type annotation + + +// EXPORTS // + +module.exports = FLOAT64_MAX_SAFE_NTH_TRIBONACCI; diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/manifest.json b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/manifest.json new file mode 100644 index 000000000000..844d692f6439 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/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/float64/max-safe-nth-tribonacci/package.json b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/package.json new file mode 100644 index 000000000000..f849b0956c92 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/package.json @@ -0,0 +1,73 @@ +{ + "name": "@stdlib/constants/float64/max-safe-nth-tribonacci", + "version": "0.0.0", + "description": "Maximum safe nth Tribonacci number when stored in double-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", + "float64", + "f64", + "ieee754" + ] +} diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js new file mode 100644 index 000000000000..ca7670a551e7 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js @@ -0,0 +1,38 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a number', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof FLOAT64_MAX_SAFE_NTH_TRIBONACCI, 'number', 'main export is a number' ); + t.end(); +}); + +tape( 'the exported value is 63', function test( t ) { + t.strictEqual( FLOAT64_MAX_SAFE_NTH_TRIBONACCI, 63, 'returns expected value' ); + t.end(); +}); From 357c9499d57a0de70dc17c9f422a5c7871f40641 Mon Sep 17 00:00:00 2001 From: GUNJ JOSHI Date: Mon, 2 Dec 2024 23:39:17 +0530 Subject: [PATCH 2/5] feat: add constants/float32/max-safe-nth-tribonacci --- .../constants/float64/max-safe-nth-tribonacci/examples/index.js | 2 +- .../constants/float64/max-safe-nth-tribonacci/lib/index.js | 2 +- .../constants/float64/max-safe-nth-tribonacci/test/test.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js index 3f9efbbade67..4966e7b8fc40 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js @@ -18,7 +18,7 @@ 'use strict'; -var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); // eslint-disable-line id-length var v; var i; diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js index bca2f9c9798c..a5d25ca78d88 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/lib/index.js @@ -41,7 +41,7 @@ * @see [Tribonacci number]{@link https://en.wikipedia.org/wiki/Tribonacci_number} * @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} */ -var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = 63|0; // asm type annotation +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = 63|0; // eslint-disable-line id-length // EXPORTS // diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js index ca7670a551e7..b386846035e9 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/test/test.js @@ -21,7 +21,7 @@ // MODULES // var tape = require( 'tape' ); -var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); +var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); // eslint-disable-line id-length // TESTS // From 720b9f48c8dfd884251b0cd834ac01484fb8fbf0 Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Tue, 3 Dec 2024 20:06:35 +0530 Subject: [PATCH 3/5] docs: move variable declarations closer to the loop Signed-off-by: Gunj Joshi --- .../constants/float64/max-safe-nth-tribonacci/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md index 8b1c9c8a9dd6..40077afd45b4 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md @@ -58,9 +58,6 @@ var bool = ( FLOAT64_MAX_SAFE_NTH_TRIBONACCI === 63 ); ```javascript var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( '@stdlib/constants/float64/max-safe-nth-tribonacci' ); -var v; -var i; - function tribonacci( n ) { var a; var b; @@ -89,6 +86,9 @@ function tribonacci( n ) { return c; } +var v; +var i; + for ( i = 0; i < 100; i++ ) { v = tribonacci( i ); if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) { From d4328e73311479cc05fd210a777600c8d5abe7cc Mon Sep 17 00:00:00 2001 From: Gunj Joshi Date: Tue, 3 Dec 2024 20:07:40 +0530 Subject: [PATCH 4/5] docs: move variable declarations closer to the loop Signed-off-by: Gunj Joshi --- .../float64/max-safe-nth-tribonacci/examples/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js index 4966e7b8fc40..54e90aeff1d8 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js @@ -20,9 +20,6 @@ var FLOAT64_MAX_SAFE_NTH_TRIBONACCI = require( './../lib' ); // eslint-disable-line id-length -var v; -var i; - function tribonacci( n ) { var a; var b; @@ -51,6 +48,9 @@ function tribonacci( n ) { return c; } +var v; +var i; + for ( i = 0; i < 100; i++ ) { v = tribonacci( i ); if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) { From 09a80dc1fb0709a0b174bc0b38537c8b11531697 Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 3 Dec 2024 14:06:46 -0800 Subject: [PATCH 5/5] Apply suggestions from code review Signed-off-by: Athan --- .../@stdlib/constants/float64/max-safe-nth-tribonacci/README.md | 1 - .../constants/float64/max-safe-nth-tribonacci/examples/index.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md index 40077afd45b4..22751c1abdd9 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/README.md @@ -88,7 +88,6 @@ function tribonacci( n ) { var v; var i; - for ( i = 0; i < 100; i++ ) { v = tribonacci( i ); if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) { diff --git a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js index 54e90aeff1d8..dcd5b4a523cd 100644 --- a/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float64/max-safe-nth-tribonacci/examples/index.js @@ -50,7 +50,6 @@ function tribonacci( n ) { var v; var i; - for ( i = 0; i < 100; i++ ) { v = tribonacci( i ); if ( i > FLOAT64_MAX_SAFE_NTH_TRIBONACCI ) {