File tree Expand file tree Collapse file tree 1 file changed +80
-1
lines changed
lib/node_modules/@stdlib/math/base/special/trunc10 Expand file tree Collapse file tree 1 file changed +80
-1
lines changed Original file line number Diff line number Diff line change 6565 " ceil" ,
6666 " nearest" ,
6767 " number"
68- ]
68+ ],
69+ "__stdlib__" : {
70+ "scaffold" : {
71+ "$schema" :
" math/[email protected] " ,
72+ "base_alias" : " trunc10" ,
73+ "alias" : " trunc10" ,
74+ "pkg_desc" : " round a numeric value to the nearest power of 10 toward zero" ,
75+ "desc" : " rounds a numeric value to the nearest power of 10 toward zero" ,
76+ "short_desc" : " " ,
77+ "parameters" : [
78+ {
79+ "name" : " x" ,
80+ "desc" : " input value" ,
81+ "type" : {
82+ "javascript" : " number" ,
83+ "jsdoc" : " number" ,
84+ "c" : " double" ,
85+ "dtype" : " float64"
86+ },
87+ "domain" : [
88+ {
89+ "min" : " -infinity" ,
90+ "max" : " infinity"
91+ }
92+ ],
93+ "rand" : {
94+ "prng" : " random/base/uniform" ,
95+ "parameters" : [
96+ -1000 ,
97+ 1000
98+ ]
99+ },
100+ "example_values" : [
101+ 5.6 ,
102+ 49 ,
103+ 0.7 ,
104+ -0.9 ,
105+ -42 ,
106+ 88 ,
107+ -3.2 ,
108+ 120 ,
109+ -15 ,
110+ 230 ,
111+ -375 ,
112+ 0 ,
113+ 9 ,
114+ -99 ,
115+ 100 ,
116+ -1000 ,
117+ 1500 ,
118+ -2500 ,
119+ 7 ,
120+ -8
121+ ]
122+ }
123+ ],
124+ "output_policy" : " real_floating_point_and_generic" ,
125+ "returns" : {
126+ "desc" : " rounded value" ,
127+ "type" : {
128+ "javascript" : " number" ,
129+ "jsdoc" : " number" ,
130+ "c" : " double" ,
131+ "dtype" : " float64"
132+ }
133+ },
134+ "keywords" : [
135+ " truncate" ,
136+ " trunc" ,
137+ " trunc10" ,
138+ " round" ,
139+ " floor" ,
140+ " ceil" ,
141+ " nearest"
142+ ],
143+ "extra_keywords" : [
144+ " math.trunc"
145+ ]
146+ }
147+ }
69148}
You can’t perform that action at this time.
0 commit comments