Skip to content

Commit a8fc98a

Browse files
committed
chore: add structured package data for math/base/special/sqrtf
--- 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 76c09a7 commit a8fc98a

File tree

1 file changed

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

1 file changed

+78
-1
lines changed

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

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,82 @@
6363
"root",
6464
"power",
6565
"number"
66-
]
66+
],
67+
"__stdlib__": {
68+
"scaffold": {
69+
"$schema": "math/[email protected]",
70+
"base_alias": "sqrt",
71+
"alias": "sqrtf",
72+
"pkg_desc": "compute the principal square root of a single-precision floating-point number",
73+
"desc": "computes the principal square root of a single-precision floating-point number",
74+
"short_desc": "principal square root",
75+
"parameters": [
76+
{
77+
"name": "x",
78+
"desc": "input value",
79+
"type": {
80+
"javascript": "number",
81+
"jsdoc": "number",
82+
"c": "float",
83+
"dtype": "float32"
84+
},
85+
"domain": [
86+
{
87+
"min": 0,
88+
"max": "infinity"
89+
}
90+
],
91+
"rand": {
92+
"prng": "random/base/uniform",
93+
"parameters": [
94+
0,
95+
100
96+
]
97+
},
98+
"example_values": [
99+
0,
100+
0.01,
101+
0.25,
102+
0.5,
103+
1,
104+
2,
105+
3,
106+
4,
107+
9,
108+
16,
109+
25,
110+
36,
111+
49,
112+
64,
113+
81,
114+
100,
115+
0.1,
116+
10,
117+
50,
118+
99.99
119+
]
120+
}
121+
],
122+
"output_policy": "real_floating_point_and_generic",
123+
"returns": {
124+
"desc": "square root",
125+
"type": {
126+
"javascript": "number",
127+
"jsdoc": "number",
128+
"c": "float",
129+
"dtype": "float32"
130+
}
131+
},
132+
"keywords": [
133+
"sqrtf",
134+
"principal",
135+
"square",
136+
"root",
137+
"power"
138+
],
139+
"extra_keywords": [
140+
"math.sqrtf"
141+
]
142+
}
143+
}
67144
}

0 commit comments

Comments
 (0)