Skip to content

Commit e759e6e

Browse files
committed
refactor: update script, try it out with floor
--- 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: passed - 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: passed - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 5de19a6 commit e759e6e

File tree

29 files changed

+1496
-228
lines changed

29 files changed

+1496
-228
lines changed

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,20 @@
6666
"complex",
6767
"cmplx",
6868
"number"
69-
]
69+
],"__stdlib__": {
70+
"scaffold": {
71+
"parameters": [
72+
{
73+
"type": {
74+
"dtype": "complex128"
75+
}
76+
}
77+
],
78+
"returns": {
79+
"type": {
80+
"dtype": "complex128"
81+
}
82+
}
83+
}
84+
}
7085
}

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,20 @@
6666
"complex",
6767
"cmplx",
6868
"number"
69-
]
69+
],"__stdlib__": {
70+
"scaffold": {
71+
"parameters": [
72+
{
73+
"type": {
74+
"dtype": "complex64"
75+
}
76+
}
77+
],
78+
"returns": {
79+
"type": {
80+
"dtype": "complex64"
81+
}
82+
}
83+
}
84+
}
7085
}

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,20 @@
6666
"double",
6767
"double-precision",
6868
"dbl"
69-
]
69+
],"__stdlib__": {
70+
"scaffold": {
71+
"parameters": [
72+
{
73+
"type": {
74+
"dtype": "float64"
75+
}
76+
}
77+
],
78+
"returns": {
79+
"type": {
80+
"dtype": "float64"
81+
}
82+
}
83+
}
84+
}
7085
}

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

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,20 @@
6666
"float",
6767
"single-precision",
6868
"single"
69-
]
69+
],"__stdlib__": {
70+
"scaffold": {
71+
"parameters": [
72+
{
73+
"type": {
74+
"dtype": "float32"
75+
}
76+
}
77+
],
78+
"returns": {
79+
"type": {
80+
"dtype": "float32"
81+
}
82+
}
83+
}
84+
}
7085
}

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

Lines changed: 3 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -63,78 +63,20 @@
6363
"trigonometry",
6464
"radians",
6565
"angle"
66-
],
67-
"__stdlib__": {
66+
],"__stdlib__": {
6867
"scaffold": {
69-
"$schema": "math/[email protected]",
70-
"base_alias": "sin",
71-
"alias": "sin",
72-
"pkg_desc": "compute the sine of a number",
73-
"desc": "computes the sine of a number",
74-
"short_desc": "sine value",
7568
"parameters": [
7669
{
77-
"name": "x",
78-
"desc": "input value",
7970
"type": {
80-
"javascript": "number",
81-
"jsdoc": "number",
82-
"c": "double",
8371
"dtype": "float64"
84-
},
85-
"domain": [
86-
{
87-
"min": "-infinity",
88-
"max": "infinity"
89-
}
90-
],
91-
"rand": {
92-
"prng": "random/base/uniform",
93-
"parameters": [
94-
-10,
95-
10
96-
]
97-
},
98-
"example_values": [
99-
64,
100-
27,
101-
0,
102-
0.1,
103-
-9,
104-
8,
105-
-1,
106-
125,
107-
-10.2,
108-
11.3,
109-
-12.4,
110-
3.5,
111-
-1.6,
112-
15.7,
113-
-16,
114-
17.9,
115-
-188,
116-
19.11,
117-
-200,
118-
21.15
119-
]
72+
}
12073
}
12174
],
122-
"output_policy": "same",
12375
"returns": {
124-
"desc": "sine value",
12576
"type": {
126-
"javascript": "number",
127-
"jsdoc": "number",
128-
"c": "double",
12977
"dtype": "float64"
13078
}
131-
},
132-
"keywords": [
133-
"abs",
134-
"absolute",
135-
"magnitude"
136-
],
137-
"extra_keywords": []
79+
}
13880
}
13981
}
14082
}

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

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -63,80 +63,20 @@
6363
"root",
6464
"power",
6565
"number"
66-
],
67-
"__stdlib__": {
66+
],"__stdlib__": {
6867
"scaffold": {
69-
"$schema": "math/[email protected]",
70-
"base_alias": "sqrt",
71-
"alias": "sqrt",
72-
"pkg_desc": "round toward positive infinity",
73-
"desc": "rounds toward positive infinity",
74-
"short_desc": "ceil value",
7568
"parameters": [
7669
{
77-
"name": "x",
78-
"desc": "input value",
7970
"type": {
80-
"javascript": "number",
81-
"jsdoc": "number",
82-
"c": "double",
8371
"dtype": "float64"
84-
},
85-
"domain": [
86-
{
87-
"min": "-infinity",
88-
"max": "infinity"
89-
}
90-
],
91-
"rand": {
92-
"prng": "random/base/uniform",
93-
"parameters": [
94-
-10,
95-
10
96-
]
97-
},
98-
"example_values": [
99-
64,
100-
27,
101-
0,
102-
0.1,
103-
-9,
104-
8,
105-
-1,
106-
125,
107-
-10.2,
108-
11.3,
109-
-12.4,
110-
3.5,
111-
-1.6,
112-
15.7,
113-
-16,
114-
17.9,
115-
-188,
116-
19.11,
117-
-200,
118-
21.15
119-
]
72+
}
12073
}
12174
],
122-
"output_policy": "same",
12375
"returns": {
124-
"desc": "absolute value",
12576
"type": {
126-
"javascript": "number",
127-
"jsdoc": "number",
128-
"c": "double",
12977
"dtype": "float64"
13078
}
131-
},
132-
"keywords": [
133-
"abs",
134-
"absolute",
135-
"magnitude"
136-
],
137-
"extra_keywords": [
138-
"math.abs"
139-
]
79+
}
14080
}
14181
}
14282
}

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

Lines changed: 3 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -66,80 +66,20 @@
6666
"complex",
6767
"cmplx",
6868
"number"
69-
],
70-
"__stdlib__": {
69+
],"__stdlib__": {
7170
"scaffold": {
72-
"$schema": "math/[email protected]",
73-
"base_alias": "sqrtf",
74-
"alias": "sqrtf",
75-
"pkg_desc": "round toward positive infinity",
76-
"desc": "rounds toward positive infinity",
77-
"short_desc": "ceil value",
7871
"parameters": [
7972
{
80-
"name": "x",
81-
"desc": "input value",
8273
"type": {
83-
"javascript": "number",
84-
"jsdoc": "number",
85-
"c": "double",
8674
"dtype": "float32"
87-
},
88-
"domain": [
89-
{
90-
"min": "-infinity",
91-
"max": "infinity"
92-
}
93-
],
94-
"rand": {
95-
"prng": "random/base/uniform",
96-
"parameters": [
97-
-10,
98-
10
99-
]
100-
},
101-
"example_values": [
102-
64,
103-
27,
104-
0,
105-
0.1,
106-
-9,
107-
8,
108-
-1,
109-
125,
110-
-10.2,
111-
11.3,
112-
-12.4,
113-
3.5,
114-
-1.6,
115-
15.7,
116-
-16,
117-
17.9,
118-
-188,
119-
19.11,
120-
-200,
121-
21.15
122-
]
75+
}
12376
}
12477
],
125-
"output_policy": "same",
12678
"returns": {
127-
"desc": "absolute value",
12879
"type": {
129-
"javascript": "number",
130-
"jsdoc": "number",
131-
"c": "double",
13280
"dtype": "float32"
13381
}
134-
},
135-
"keywords": [
136-
"abs",
137-
"absolute",
138-
"magnitude"
139-
],
140-
"extra_keywords": [
141-
"math.abs"
142-
]
82+
}
14383
}
14484
}
14585
}

0 commit comments

Comments
 (0)