Skip to content

Commit 4cfd074

Browse files
manvith2003kgryte
andauthored
chore: add structured package data for math/base/special/floorf
PR-URL: #8418 Ref: #7924 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent e5b2051 commit 4cfd074

File tree

1 file changed

+79
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/floorf

1 file changed

+79
-4
lines changed

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

Lines changed: 79 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/math/base/special/floorf",
33
"version": "0.0.0",
4-
"description": "Round a single-precision floating-point numeric value toward negative infinity.",
4+
"description": "Round a single-precision floating-point number toward negative infinity.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",
@@ -56,8 +56,8 @@
5656
"stdmath",
5757
"mathematics",
5858
"math",
59-
"math.floorf",
60-
"floorf",
59+
"math.floor",
60+
"floor",
6161
"round",
6262
"integer",
6363
"nearest",
@@ -66,5 +66,80 @@
6666
"float",
6767
"single-precision",
6868
"single"
69-
]
69+
],
70+
"__stdlib__": {
71+
"scaffold": {
72+
"$schema": "math/base@v1.0",
73+
"base_alias": "floor",
74+
"alias": "floorf",
75+
"pkg_desc": "round a single-precision floating-point number toward negative infinity",
76+
"desc": "rounds a single-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": "float",
86+
"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+
-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": "float",
131+
"dtype": "float32"
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)