Skip to content

Commit 41a2139

Browse files
committed
Auto-generated commit
1 parent 84cd3cf commit 41a2139

2 files changed

Lines changed: 74 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ A total of 63 issues were closed in this release:
633633

634634
<details>
635635

636+
- [`4fadd45`](https://github.com/stdlib-js/stdlib/commit/4fadd45bb3ff63b9c30e9b7a6b950554f555dbec) - **chore:** add structured package data for `math/base/special/factorial` [(#8017)](https://github.com/stdlib-js/stdlib/pull/8017) _(by Lokesh Ranjan)_
636637
- [`73ca98e`](https://github.com/stdlib-js/stdlib/commit/73ca98e9cdb6ebd848df6f2321f740237e85b3cd) - **chore:** fix C lint errors [(#8015)](https://github.com/stdlib-js/stdlib/pull/8015) _(by GeoDaoyu)_
637638
- [`baf65a6`](https://github.com/stdlib-js/stdlib/commit/baf65a6e432f27fd2876946a96d4801bb469c3ad) - **chore:** add structured package data for `math/base/special/fibonacci` [(#8012)](https://github.com/stdlib-js/stdlib/pull/8012) _(by Lokesh Ranjan, Athan Reines)_
638639
- [`c726af4`](https://github.com/stdlib-js/stdlib/commit/c726af410e5fc8fd7ffc6b6178da3dc38b4505f9) - **style:** remove empty lines [(#8010)](https://github.com/stdlib-js/stdlib/pull/8010) _(by stdlib-bot)_

base/special/factorial/package.json

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,77 @@
6464
"combinatorics",
6565
"gamma",
6666
"number"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/base@v1.0",
71+
"base_alias": "factorial",
72+
"alias": "factorial",
73+
"pkg_desc": "compute the factorial",
74+
"desc": "computes the factorial",
75+
"short_desc": "factorial",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": 0,
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/discrete-uniform",
94+
"parameters": [
95+
0,
96+
100
97+
]
98+
},
99+
"example_values": [
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+
21,
118+
34,
119+
99
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "factorial",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"factorial",
135+
"fact"
136+
],
137+
"extra_keywords": []
138+
}
139+
}
68140
}

0 commit comments

Comments
 (0)