Skip to content

Commit 329ef48

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/negafibonaccif
PR-URL: #8399 Ref: #7924 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 263d50a commit 329ef48

File tree

1 file changed

+76
-2
lines changed
  • lib/node_modules/@stdlib/math/base/special/negafibonaccif

1 file changed

+76
-2
lines changed

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

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,83 @@
6060
"function",
6161
"fibonacci",
6262
"negafibonacci",
63-
"negafibonaccif",
6463
"fib",
6564
"nfib",
6665
"number"
67-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "negafibonacci",
71+
"alias": "negafibonaccif",
72+
"pkg_desc": "compute the nth negaFibonacci number as a single-precision floating-point number",
73+
"desc": "computes the nth negaFibonacci number as a single-precision floating-point number",
74+
"short_desc": "negaFibonacci number",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "float",
83+
"dtype": "float32"
84+
},
85+
"domain": [
86+
{
87+
"min": "-infinity",
88+
"max": 0
89+
}
90+
],
91+
"rand": {
92+
"prng": "random/base/discrete-uniform",
93+
"parameters": [
94+
-100,
95+
0
96+
]
97+
},
98+
"example_values": [
99+
0,
100+
-1,
101+
-2,
102+
-3,
103+
-4,
104+
-5,
105+
-6,
106+
-7,
107+
-8,
108+
-9,
109+
-10,
110+
-11,
111+
-12,
112+
-13,
113+
-14,
114+
-15,
115+
-16,
116+
-17,
117+
-20,
118+
-25,
119+
-30
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "negaFibonacci number",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "float",
130+
"dtype": "float32"
131+
}
132+
},
133+
"keywords": [
134+
"fibonacci",
135+
"negafibonacci",
136+
"fib",
137+
"nfib"
138+
],
139+
"extra_keywords": []
140+
}
141+
}
68142
}

0 commit comments

Comments
 (0)