Skip to content

Commit c803c81

Browse files
authored
chore: add structured package data for math/base/special/expm1
PR-URL: #8462 Ref: #7924 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 19907c4 commit c803c81

File tree

1 file changed

+79
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/expm1

1 file changed

+79
-1
lines changed

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,83 @@
6666
"function",
6767
"euler",
6868
"number"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/base@v1.0",
73+
"base_alias": "expm1",
74+
"alias": "expm1",
75+
"pkg_desc": "compute `exp(x)-1`, where `exp(x)` is the natural exponential function",
76+
"desc": "computes `exp(x)-1`, where `exp(x)` is the natural exponential function",
77+
"short_desc": "exp(x)-1",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
87+
},
88+
"domain": [
89+
{
90+
"min": "-infinity",
91+
"max": "infinity"
92+
}
93+
],
94+
"rand": {
95+
"prng": "random/base/uniform",
96+
"parameters": [
97+
-10,
98+
10
99+
]
100+
},
101+
"example_values": [
102+
-1.2,
103+
2,
104+
-3.1,
105+
-4.7,
106+
5.5,
107+
6.7,
108+
8.9,
109+
-10.2,
110+
11.3,
111+
-12.4,
112+
13.5,
113+
14.6,
114+
-15.7,
115+
16.8,
116+
-17.9,
117+
18.1,
118+
-19.11,
119+
20.12,
120+
-21.15,
121+
23.78
122+
]
123+
}
124+
],
125+
"returns": {
126+
"desc": "function value",
127+
"type": {
128+
"javascript": "number",
129+
"jsdoc": "number",
130+
"c": "double",
131+
"dtype": "float64"
132+
}
133+
},
134+
"keywords": [
135+
"expm1",
136+
"power",
137+
"natural",
138+
"exp",
139+
"exponential",
140+
"function",
141+
"euler"
142+
],
143+
"extra_keywords": [
144+
"math.expm1"
145+
]
146+
}
147+
}
70148
}

0 commit comments

Comments
 (0)