Skip to content

Commit be3c34d

Browse files
committed
chore: add structured package data for math/base/special/truncf
--- 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 be3c34d

File tree

1 file changed

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

1 file changed

+78
-1
lines changed

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,82 @@
6767
"function",
6868
"polyfill",
6969
"ponyfill"
70-
]
70+
],
71+
"__stdlib__": {
72+
"scaffold": {
73+
"$schema": "math/[email protected]",
74+
"base_alias": "truncf",
75+
"alias": "truncf",
76+
"pkg_desc": "round a single-precision floating-point number toward zero",
77+
"desc": "rounds a single-precision floating-point number toward zero",
78+
"short_desc": "",
79+
"parameters": [
80+
{
81+
"name": "x",
82+
"desc": "input value",
83+
"type": {
84+
"javascript": "number",
85+
"jsdoc": "number",
86+
"c": "float",
87+
"dtype": "float32"
88+
},
89+
"domain": [
90+
{
91+
"min": "-infinity",
92+
"max": "infinity"
93+
}
94+
],
95+
"rand": {
96+
"prng": "random/base/uniform",
97+
"parameters": [
98+
-10,
99+
10
100+
]
101+
},
102+
"example_values": [
103+
64.5,
104+
27.6,
105+
0.9,
106+
0.1,
107+
-9.2,
108+
8.3,
109+
-1.4,
110+
125.01,
111+
-10.2,
112+
11.3,
113+
-12.4,
114+
3.5,
115+
-1.6,
116+
15.7,
117+
-16,
118+
17.9,
119+
-188,
120+
19.11,
121+
-200,
122+
21.15
123+
]
124+
}
125+
],
126+
"output_policy": "real_floating_point_and_generic",
127+
"returns": {
128+
"desc": "rounded value",
129+
"type": {
130+
"javascript": "number",
131+
"jsdoc": "number",
132+
"c": "float",
133+
"dtype": "float32"
134+
}
135+
},
136+
"keywords": [
137+
"trunc",
138+
"truncate",
139+
"round",
140+
"integer",
141+
"number"
142+
],
143+
"extra_keywords": [
144+
"math.trunc"
145+
]
146+
}
147+
}
71148
}

0 commit comments

Comments
 (0)