File tree Expand file tree Collapse file tree 1 file changed +76
-1
lines changed
lib/node_modules/@stdlib/math/base/special/round Expand file tree Collapse file tree 1 file changed +76
-1
lines changed Original file line number Diff line number Diff line change 6161 " integer" ,
6262 " nearest" ,
6363 " number"
64- ]
64+ ],
65+ "__stdlib__" : {
66+ "scaffold" : {
67+ "$schema" : " math/base@v1.0" ,
68+ "base_alias" : " round" ,
69+ "alias" : " round" ,
70+ "pkg_desc" : " round a numeric value to the nearest integer" ,
71+ "desc" : " rounds a numeric value to the nearest integer" ,
72+ "short_desc" : " " ,
73+ "parameters" : [
74+ {
75+ "name" : " x" ,
76+ "desc" : " input value" ,
77+ "type" : {
78+ "javascript" : " number" ,
79+ "jsdoc" : " number" ,
80+ "c" : " double" ,
81+ "dtype" : " float64"
82+ },
83+ "domain" : [
84+ {
85+ "min" : " -infinity" ,
86+ "max" : " infinity"
87+ }
88+ ],
89+ "rand" : {
90+ "prng" : " random/base/uniform" ,
91+ "parameters" : [
92+ -10 ,
93+ 10
94+ ]
95+ },
96+ "example_values" : [
97+ -10.2 ,
98+ 11.3 ,
99+ -12.4 ,
100+ 3.5 ,
101+ -1.6 ,
102+ 64 ,
103+ 27.2 ,
104+ 0 ,
105+ 0.1 ,
106+ -9 ,
107+ 8.1 ,
108+ -1 ,
109+ 125 ,
110+ 15.7 ,
111+ -16.5 ,
112+ 17.9 ,
113+ -188.7 ,
114+ 19.11 ,
115+ -200.1 ,
116+ 21.15
117+ ]
118+ }
119+ ],
120+ "output_policy" : " same" ,
121+ "returns" : {
122+ "desc" : " function value" ,
123+ "type" : {
124+ "javascript" : " number" ,
125+ "jsdoc" : " number" ,
126+ "c" : " double" ,
127+ "dtype" : " float64"
128+ }
129+ },
130+ "keywords" : [
131+ " round" ,
132+ " integer" ,
133+ " nearest"
134+ ],
135+ "extra_keywords" : [
136+ " math.round"
137+ ]
138+ }
139+ }
65140}
You can’t perform that action at this time.
0 commit comments