Skip to content

Commit d4dd143

Browse files
committed
Add structured package data for log1pf
1 parent 9455026 commit d4dd143

File tree

1 file changed

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

1 file changed

+78
-1
lines changed

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,82 @@
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.0",
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-0.5,
99+
10.0
100+
]
101+
},
102+
"example_values": [
103+
4.0,
104+
0.5,
105+
0.1,
106+
0.01,
107+
0.001,
108+
1.0,
109+
2.0,
110+
3.0,
111+
5.0,
112+
10.0,
113+
0.2,
114+
0.3,
115+
0.7,
116+
1.5,
117+
2.5,
118+
7.0,
119+
-0.5,
120+
-0.1,
121+
-0.9,
122+
0.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+
"log1pf",
138+
"logarithm",
139+
"ln",
140+
"natural"
141+
],
142+
"extra_keywords": [
143+
"math.log",
144+
"math.log1p"
145+
]
146+
}
147+
}
71148
}

0 commit comments

Comments
 (0)