Skip to content

Commit 79c59ee

Browse files
iampratik13kgryte
andauthored
chore: add structured package data for math/base/special/kernel-log1p
PR-URL: #8436 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent ed24f16 commit 79c59ee

File tree

1 file changed

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

1 file changed

+80
-1
lines changed

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,84 @@
6060
"log",
6161
"kernel",
6262
"logarithm"
63-
]
63+
],
64+
"__stdlib__": {
65+
"scaffold": {
66+
"$schema": "math/base@v1.0",
67+
"base_alias": "kernelLog1p",
68+
"alias": "kernelLog1p",
69+
"pkg_desc": "evaluate a correction term for double-precision base-2 and base-10 logarithms when 1+f is in [√2/2, √2]",
70+
"desc": "evaluates a correction term for double-precision base-2 and base-10 logarithms when 1+f is in [√2/2, √2]",
71+
"short_desc": "correction term for base-2 and base-10 logarithms",
72+
"parameters": [
73+
{
74+
"name": "f",
75+
"desc": "input value",
76+
"type": {
77+
"javascript": "number",
78+
"jsdoc": "number",
79+
"c": "double",
80+
"dtype": "float64"
81+
},
82+
"domain": [
83+
{
84+
"min": 0.7071067811865476,
85+
"max": 1.4142135623730951
86+
}
87+
],
88+
"rand": {
89+
"prng": "random/base/uniform",
90+
"parameters": [
91+
0.7071067811865476,
92+
1.4142135623730951
93+
]
94+
},
95+
"example_values": [
96+
0.7071067811865476,
97+
0.7856742013183861,
98+
0.8642135623730951,
99+
0.942752923427804,
100+
1.021292284482513,
101+
1.099831645537222,
102+
1.178371006591931,
103+
1.25691036764664,
104+
1.335449728701349,
105+
1.4142135623730951,
106+
0.75,
107+
0.85,
108+
0.95,
109+
1.05,
110+
1.15,
111+
1.25,
112+
1.35,
113+
1,
114+
0.8,
115+
1.2
116+
]
117+
}
118+
],
119+
"output_policy": "real_floating_point_and_generic",
120+
"returns": {
121+
"desc": "correction term",
122+
"type": {
123+
"javascript": "number",
124+
"jsdoc": "number",
125+
"c": "double",
126+
"dtype": "float64"
127+
}
128+
},
129+
"keywords": [
130+
"log",
131+
"log1p",
132+
"kernel",
133+
"logarithm",
134+
"correction"
135+
],
136+
"extra_keywords": [
137+
"math.log1p",
138+
"math.log2",
139+
"math.log10"
140+
]
141+
}
142+
}
64143
}

0 commit comments

Comments
 (0)