Skip to content

Commit e7ce1a8

Browse files
chore: add structured package data for math/base/special/floor
PR-URL: #8345 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent bf30722 commit e7ce1a8

File tree

1 file changed

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

1 file changed

+76
-1
lines changed

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

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,80 @@
6666
"double",
6767
"double-precision",
6868
"dbl"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/base@v1.0",
73+
"base_alias": "floor",
74+
"alias": "floor",
75+
"pkg_desc": "round a double-precision floating-point number toward negative infinity",
76+
"desc": "rounds a double-precision floating-point number toward negative infinity",
77+
"short_desc": "",
78+
"parameters": [
79+
{
80+
"name": "x",
81+
"desc": "input value",
82+
"type": {
83+
"javascript": "number",
84+
"jsdoc": "number",
85+
"c": "double",
86+
"dtype": "float64"
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+
-3.7,
103+
3.5,
104+
-1.2,
105+
-0.1,
106+
0.1,
107+
1.1,
108+
2.9,
109+
5.5,
110+
10.2,
111+
5.9,
112+
2.25,
113+
-3.14,
114+
5,
115+
4.33,
116+
10.2,
117+
-9.99,
118+
9.99,
119+
2.12,
120+
-0.5,
121+
0.5
122+
]
123+
}
124+
],
125+
"returns": {
126+
"desc": "function value",
127+
"type": {
128+
"javascript": "number",
129+
"jsdoc": "number",
130+
"c": "double",
131+
"dtype": "float64"
132+
}
133+
},
134+
"keywords": [
135+
"floor",
136+
"round",
137+
"integer",
138+
"nearest"
139+
],
140+
"extra_keywords": [
141+
"math.floor"
142+
]
143+
}
144+
}
70145
}

0 commit comments

Comments
 (0)