Skip to content

Commit 8f1ca45

Browse files
committed
chore: add structured package data for math/base/special/signum
--- 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 dcafcbc commit 8f1ca45

File tree

1 file changed

+80
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/signum

1 file changed

+80
-1
lines changed

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

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,84 @@
6464
"special function",
6565
"special",
6666
"function"
67-
]
67+
],
68+
"__stdlib__": {
69+
"scaffold": {
70+
"$schema": "math/[email protected]",
71+
"base_alias": "signum",
72+
"alias": "signum",
73+
"pkg_desc": "evaluate the signum function for a double-precision floating-point number",
74+
"desc": "evaluates the signum function for a double-precision floating-point number",
75+
"short_desc": "signum",
76+
"parameters": [
77+
{
78+
"name": "x",
79+
"desc": "input value",
80+
"type": {
81+
"javascript": "number",
82+
"jsdoc": "number",
83+
"c": "double",
84+
"dtype": "float64"
85+
},
86+
"domain": [
87+
{
88+
"min": "-infinity",
89+
"max": "infinity"
90+
}
91+
],
92+
"rand": {
93+
"prng": "random/base/uniform",
94+
"parameters": [
95+
-100,
96+
100
97+
]
98+
},
99+
"example_values": [
100+
-100,
101+
-50,
102+
-10,
103+
-5,
104+
-3.5,
105+
-1,
106+
-0.5,
107+
-0.1,
108+
0,
109+
0.1,
110+
0.5,
111+
1,
112+
3.5,
113+
5,
114+
10,
115+
25,
116+
50,
117+
75,
118+
100,
119+
-75
120+
]
121+
}
122+
],
123+
"output_policy": "real_floating_point_and_generic",
124+
"returns": {
125+
"desc": "signum",
126+
"type": {
127+
"javascript": "number",
128+
"jsdoc": "number",
129+
"c": "double",
130+
"dtype": "float64"
131+
}
132+
},
133+
"keywords": [
134+
"signum",
135+
"sign",
136+
"value",
137+
"number",
138+
"special function",
139+
"special",
140+
"function"
141+
],
142+
"extra_keywords": [
143+
"math.sign"
144+
]
145+
}
146+
}
68147
}

0 commit comments

Comments
 (0)