Skip to content

Commit d99bf69

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/log10
PR-URL: #8384 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 18838ae commit d99bf69

File tree

1 file changed

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

1 file changed

+78
-1
lines changed

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

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

0 commit comments

Comments
 (0)