Skip to content

Commit 963250c

Browse files
authored
chore: add structured package data for math/base/special/floor10
PR-URL: #8416 Ref: #7924 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 5ac2a43 commit 963250c

File tree

1 file changed

+76
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/floor10

1 file changed

+76
-1
lines changed

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

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,80 @@
6262
"round",
6363
"nearest",
6464
"number"
65-
]
65+
],
66+
"__stdlib__": {
67+
"scaffold": {
68+
"$schema": "math/base@v1.0",
69+
"base_alias": "floor10",
70+
"alias": "floor10",
71+
"pkg_desc": "round a numeric value to the nearest power of 10 toward negative infinity",
72+
"desc": "rounds a numeric value to the nearest power of 10 toward negative infinity",
73+
"short_desc": "",
74+
"parameters": [
75+
{
76+
"name": "x",
77+
"desc": "input value",
78+
"type": {
79+
"javascript": "number",
80+
"jsdoc": "number",
81+
"c": "double",
82+
"dtype": "float64"
83+
},
84+
"domain": [
85+
{
86+
"min": "-infinity",
87+
"max": "infinity"
88+
}
89+
],
90+
"rand": {
91+
"prng": "random/base/uniform",
92+
"parameters": [
93+
-10,
94+
10
95+
]
96+
},
97+
"example_values": [
98+
-3.7,
99+
3.5,
100+
-1.2,
101+
-0.1,
102+
0.1,
103+
1.1,
104+
2.9,
105+
5.5,
106+
10.2,
107+
5.9,
108+
2.25,
109+
-3.14,
110+
5,
111+
4.33,
112+
10.2,
113+
-9.99,
114+
9.99,
115+
2.12,
116+
-0.5,
117+
0.5
118+
]
119+
}
120+
],
121+
"returns": {
122+
"desc": "function value",
123+
"type": {
124+
"javascript": "number",
125+
"jsdoc": "number",
126+
"c": "double",
127+
"dtype": "float64"
128+
}
129+
},
130+
"keywords": [
131+
"floor",
132+
"floor10",
133+
"round",
134+
"nearest"
135+
],
136+
"extra_keywords": [
137+
"math.floor"
138+
]
139+
}
140+
}
66141
}

0 commit comments

Comments
 (0)