Skip to content

Commit 16fda9d

Browse files
committed
feat: try the script for fibonacci
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 9ab0db2 commit 16fda9d

File tree

10 files changed

+1092
-2
lines changed

10 files changed

+1092
-2
lines changed

lib/node_modules/@stdlib/math/base/special/fibonacci/package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,21 @@
6262
"fibonacci",
6363
"fib",
6464
"number"
65-
]
65+
],
66+
"__stdlib__": {
67+
"scaffold": {
68+
"parameters": [
69+
{
70+
"type": {
71+
"dtype": "int32"
72+
}
73+
}
74+
],
75+
"returns": {
76+
"type": {
77+
"dtype": "float64"
78+
}
79+
}
80+
}
81+
}
6682
}

lib/node_modules/@stdlib/math/base/special/fibonaccif/package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,21 @@
6262
"fibonaccif",
6363
"fib",
6464
"number"
65-
]
65+
],
66+
"__stdlib__": {
67+
"scaffold": {
68+
"parameters": [
69+
{
70+
"type": {
71+
"dtype": "int32"
72+
}
73+
}
74+
],
75+
"returns": {
76+
"type": {
77+
"dtype": "float32"
78+
}
79+
}
80+
}
81+
}
6682
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/**
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/* This is a generated file. Do not edit directly. */
20+
21+
/* eslint-disable array-element-newline */
22+
23+
'use strict';
24+
25+
// MODULES //
26+
27+
var dtypes = require( '@stdlib/ndarray/dtypes' );
28+
29+
30+
// MAIN //
31+
32+
var types = [
33+
// float32 (3)
34+
dtypes.float32, dtypes.float64,
35+
dtypes.float32, dtypes.float32,
36+
dtypes.float32, dtypes.generic,
37+
38+
// float64 (3)
39+
dtypes.float64, dtypes.float64,
40+
dtypes.float64, dtypes.float32,
41+
dtypes.float64, dtypes.generic,
42+
43+
// int16 (5)
44+
dtypes.int16, dtypes.float64,
45+
dtypes.int16, dtypes.float32,
46+
dtypes.int16, dtypes.int32,
47+
dtypes.int16, dtypes.int16,
48+
dtypes.int16, dtypes.generic,
49+
50+
// int32 (3)
51+
dtypes.int32, dtypes.float64,
52+
dtypes.int32, dtypes.int32,
53+
dtypes.int32, dtypes.generic,
54+
55+
// int8 (6)
56+
dtypes.int8, dtypes.float64,
57+
dtypes.int8, dtypes.float32,
58+
dtypes.int8, dtypes.int32,
59+
dtypes.int8, dtypes.int16,
60+
dtypes.int8, dtypes.int8,
61+
dtypes.int8, dtypes.generic,
62+
63+
// uint16 (6)
64+
dtypes.uint16, dtypes.float64,
65+
dtypes.uint16, dtypes.float32,
66+
dtypes.uint16, dtypes.int32,
67+
dtypes.uint16, dtypes.uint32,
68+
dtypes.uint16, dtypes.uint16,
69+
dtypes.uint16, dtypes.generic,
70+
71+
// uint32 (3)
72+
dtypes.uint32, dtypes.float64,
73+
dtypes.uint32, dtypes.uint32,
74+
dtypes.uint32, dtypes.generic,
75+
76+
// uint8 (8)
77+
dtypes.uint8, dtypes.float64,
78+
dtypes.uint8, dtypes.float32,
79+
dtypes.uint8, dtypes.int32,
80+
dtypes.uint8, dtypes.int16,
81+
dtypes.uint8, dtypes.uint32,
82+
dtypes.uint8, dtypes.uint16,
83+
dtypes.uint8, dtypes.uint8,
84+
dtypes.uint8, dtypes.generic,
85+
86+
// generic (1)
87+
dtypes.generic, dtypes.float64
88+
];
89+
90+
91+
// EXPORTS //
92+
93+
module.exports = types;
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"name": "@stdlib/math/special/fibonacci",
3+
"version": "0.0.0",
4+
"description": "Compute the nth Fibonacci number.",
5+
"license": "Apache-2.0",
6+
"author": {
7+
"name": "The Stdlib Authors",
8+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
9+
},
10+
"contributors": [
11+
{
12+
"name": "The Stdlib Authors",
13+
"url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
14+
}
15+
],
16+
"main": "./lib",
17+
"browser": "./lib/main.js",
18+
"gypfile": true,
19+
"directories": {
20+
"benchmark": "./benchmark",
21+
"doc": "./docs",
22+
"example": "./examples",
23+
"lib": "./lib",
24+
"scripts": "./scripts",
25+
"src": "./src",
26+
"test": "./test"
27+
},
28+
"types": "./docs/types",
29+
"scripts": {},
30+
"homepage": "https://github.com/stdlib-js/stdlib",
31+
"repository": {
32+
"type": "git",
33+
"url": "git://github.com/stdlib-js/stdlib.git"
34+
},
35+
"bugs": {
36+
"url": "https://github.com/stdlib-js/stdlib/issues"
37+
},
38+
"dependencies": {},
39+
"devDependencies": {},
40+
"engines": {
41+
"node": ">=0.10.0",
42+
"npm": ">2.7.0"
43+
},
44+
"os": [
45+
"aix",
46+
"darwin",
47+
"freebsd",
48+
"linux",
49+
"macos",
50+
"openbsd",
51+
"sunos",
52+
"win32",
53+
"windows"
54+
],
55+
"keywords": [
56+
"stdlib",
57+
"stdmath",
58+
"mathematics",
59+
"math",
60+
"fibonacci",
61+
"fib",
62+
"number"
63+
]
64+
}

0 commit comments

Comments
 (0)