Skip to content

Commit b2c035b

Browse files
committed
chore: add structured package data for math/base/special/roundf
--- 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 7c5f460 commit b2c035b

File tree

1 file changed

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

1 file changed

+76
-1
lines changed

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

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,80 @@
6161
"integer",
6262
"nearest",
6363
"number"
64-
]
64+
],
65+
"__stdlib__": {
66+
"scaffold": {
67+
"$schema": "math/[email protected]",
68+
"base_alias": "round",
69+
"alias": "roundf",
70+
"pkg_desc": "round a single-precision floating-point number to the nearest integer",
71+
"desc": "rounds a single-precision floating-point number to the nearest integer",
72+
"short_desc": "",
73+
"parameters": [
74+
{
75+
"name": "x",
76+
"desc": "input value",
77+
"type": {
78+
"javascript": "number",
79+
"jsdoc": "number",
80+
"c": "float",
81+
"dtype": "float32"
82+
},
83+
"domain": [
84+
{
85+
"min": "-infinity",
86+
"max": "infinity"
87+
}
88+
],
89+
"rand": {
90+
"prng": "random/base/uniform",
91+
"parameters": [
92+
-10,
93+
10
94+
]
95+
},
96+
"example_values": [
97+
-10.2,
98+
11.3,
99+
-12.4,
100+
3.5,
101+
-1.6,
102+
64,
103+
27.2,
104+
0,
105+
0.1,
106+
-9,
107+
8.1,
108+
-1,
109+
125,
110+
15.7,
111+
-16.5,
112+
17.9,
113+
-188.7,
114+
19.11,
115+
-200.1,
116+
21.15
117+
]
118+
}
119+
],
120+
"returns": {
121+
"desc": "function value",
122+
"type": {
123+
"javascript": "number",
124+
"jsdoc": "number",
125+
"c": "float",
126+
"dtype": "float32"
127+
}
128+
},
129+
"keywords": [
130+
"roundf",
131+
"integer",
132+
"nearest"
133+
],
134+
"extra_keywords": [
135+
"math.round"
136+
]
137+
}
138+
}
65139
}
140+

0 commit comments

Comments
 (0)