File tree Expand file tree Collapse file tree 1 file changed +78
-1
lines changed
lib/node_modules/@stdlib/math/base/special/truncf Expand file tree Collapse file tree 1 file changed +78
-1
lines changed Original file line number Diff line number Diff line change 6767 " function" ,
6868 " polyfill" ,
6969 " ponyfill"
70- ]
70+ ],
71+ "__stdlib__" : {
72+ "scaffold" : {
73+ "$schema" :
" math/[email protected] " ,
74+ "base_alias" : " truncf" ,
75+ "alias" : " truncf" ,
76+ "pkg_desc" : " round a single-precision floating-point number toward zero" ,
77+ "desc" : " rounds a single-precision floating-point number toward zero" ,
78+ "short_desc" : " " ,
79+ "parameters" : [
80+ {
81+ "name" : " x" ,
82+ "desc" : " input value" ,
83+ "type" : {
84+ "javascript" : " number" ,
85+ "jsdoc" : " number" ,
86+ "c" : " float" ,
87+ "dtype" : " float32"
88+ },
89+ "domain" : [
90+ {
91+ "min" : " -infinity" ,
92+ "max" : " infinity"
93+ }
94+ ],
95+ "rand" : {
96+ "prng" : " random/base/uniform" ,
97+ "parameters" : [
98+ -10 ,
99+ 10
100+ ]
101+ },
102+ "example_values" : [
103+ 64.5 ,
104+ 27.6 ,
105+ 0.9 ,
106+ 0.1 ,
107+ -9.2 ,
108+ 8.3 ,
109+ -1.4 ,
110+ 125.01 ,
111+ -10.2 ,
112+ 11.3 ,
113+ -12.4 ,
114+ 3.5 ,
115+ -1.6 ,
116+ 15.7 ,
117+ -16 ,
118+ 17.9 ,
119+ -188 ,
120+ 19.11 ,
121+ -200 ,
122+ 21.15
123+ ]
124+ }
125+ ],
126+ "output_policy" : " real_floating_point_and_generic" ,
127+ "returns" : {
128+ "desc" : " rounded value" ,
129+ "type" : {
130+ "javascript" : " number" ,
131+ "jsdoc" : " number" ,
132+ "c" : " float" ,
133+ "dtype" : " float32"
134+ }
135+ },
136+ "keywords" : [
137+ " trunc" ,
138+ " truncate" ,
139+ " round" ,
140+ " integer" ,
141+ " number"
142+ ],
143+ "extra_keywords" : [
144+ " math.trunc"
145+ ]
146+ }
147+ }
71148}
You can’t perform that action at this time.
0 commit comments