Skip to content

Commit a0f5883

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/log1p
PR-URL: #8429 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 345f872 commit a0f5883

File tree

1 file changed

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

1 file changed

+79
-1
lines changed

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

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,83 @@
6767
"value",
6868
"number",
6969
"small"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/base@v1.0",
74+
"base_alias": "log1p",
75+
"alias": "log1p",
76+
"pkg_desc": "evaluate the natural logarithm of 1+x",
77+
"desc": "evaluates the natural logarithm of 1+x",
78+
"short_desc": "natural logarithm of 1+x",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value",
83+
"type": {
84+
"javascript": "number",
85+
"jsdoc": "number",
86+
"c": "double",
87+
"dtype": "float64"
88+
},
89+
"domain": [
90+
{
91+
"min": -1,
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-1,
99+
100
100+
]
101+
},
102+
"example_values": [
103+
-0.99,
104+
3,
105+
0.01,
106+
0.25,
107+
4,
108+
9,
109+
-0.9,
110+
25,
111+
36,
112+
-0.5,
113+
-0.25,
114+
16,
115+
49,
116+
-0.1,
117+
0,
118+
0.5,
119+
1,
120+
2,
121+
64,
122+
81
123+
]
124+
}
125+
],
126+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "natural logarithm of 1+x",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "double",
133+
"dtype": "float64"
134+
}
135+
},
136+
"keywords": [
137+
"ln",
138+
"log1p",
139+
"natural",
140+
"logarithm",
141+
"log"
142+
],
143+
"extra_keywords": [
144+
"math.log",
145+
"math.log1p"
146+
]
147+
}
148+
}
71149
}

0 commit comments

Comments
 (0)