Skip to content

Commit 82e7f35

Browse files
chore: add structured package data for math/base/special/log1pf
PR-URL: #8800 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 9455026 commit 82e7f35

File tree

1 file changed

+77
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/log1pf

1 file changed

+77
-1
lines changed

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

Lines changed: 77 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,81 @@
6767
"value",
6868
"number",
6969
"small"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/base@v1.0",
74+
"base_alias": "log1p",
75+
"alias": "log1pf",
76+
"pkg_desc": "evaluate the natural logarithm of 1+x as a single-precision floating-point number",
77+
"desc": "evaluates the natural logarithm of 1+x as a single-precision floating-point number",
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": "float",
87+
"dtype": "float32"
88+
},
89+
"domain": [
90+
{
91+
"min": -1,
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-0.5,
99+
10
100+
]
101+
},
102+
"example_values": [
103+
4,
104+
0.5,
105+
0.1,
106+
0.01,
107+
0.001,
108+
1,
109+
2,
110+
3,
111+
5,
112+
10,
113+
0.2,
114+
0.3,
115+
0.7,
116+
1.5,
117+
2.5,
118+
7,
119+
-0.5,
120+
-0.1,
121+
-0.9,
122+
0
123+
]
124+
}
125+
],
126+
"returns": {
127+
"desc": "natural logarithm of 1+x",
128+
"type": {
129+
"javascript": "number",
130+
"jsdoc": "number",
131+
"c": "float",
132+
"dtype": "float32"
133+
}
134+
},
135+
"keywords": [
136+
"log1p",
137+
"logarithm",
138+
"ln",
139+
"natural"
140+
],
141+
"extra_keywords": [
142+
"math.log",
143+
"math.log1p"
144+
]
145+
}
146+
}
71147
}

0 commit comments

Comments
 (0)