Skip to content

Commit 60f23f8

Browse files
committed
chore: add structured package data for math/base/special/trunc10
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ad8f246 commit 60f23f8

File tree

1 file changed

+81
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/trunc10

1 file changed

+81
-1
lines changed

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

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,85 @@
6565
"ceil",
6666
"nearest",
6767
"number"
68-
]
68+
],
69+
"__stdlib__": {
70+
"scaffold": {
71+
"$schema": "math/[email protected]",
72+
"base_alias": "trunc10",
73+
"alias": "trunc10",
74+
"pkg_desc": "round a numeric value to the nearest power of 10 toward zero",
75+
"desc": "round a numeric value to the nearest power of 10 toward zero",
76+
"short_desc": "",
77+
"parameters": [
78+
{
79+
"name": "x",
80+
"desc": "input value",
81+
"type": {
82+
"javascript": "number",
83+
"jsdoc": "number",
84+
"c": "double",
85+
"dtype": "float64"
86+
},
87+
"domain": [
88+
{
89+
"min": "-infinity",
90+
"max": "infinity"
91+
}
92+
],
93+
"rand": {
94+
"prng": "random/base/uniform",
95+
"parameters": [
96+
-1000,
97+
1000
98+
]
99+
},
100+
"example_values": [
101+
5.6,
102+
49,
103+
0.7,
104+
-0.9,
105+
-42,
106+
88,
107+
-3.2,
108+
120,
109+
-15,
110+
230,
111+
-375,
112+
0,
113+
9,
114+
-99,
115+
100,
116+
-1000,
117+
1500,
118+
-2500,
119+
7,
120+
-8
121+
]
122+
}
123+
],
124+
"output_policy": "real_floating_point_and_generic",
125+
"returns": {
126+
"desc": "rounded value",
127+
"type": {
128+
"javascript": "number",
129+
"jsdoc": "number",
130+
"c": "double",
131+
"dtype": "float64"
132+
}
133+
},
134+
"keywords": [
135+
"truncate",
136+
"trunc",
137+
"trunc10",
138+
"round",
139+
"floor",
140+
"ceil",
141+
"nearest",
142+
"number"
143+
],
144+
"extra_keywords": [
145+
"math.trunc"
146+
]
147+
}
148+
}
69149
}

0 commit comments

Comments
 (0)