File tree Expand file tree Collapse file tree 1 file changed +85
-1
lines changed
lib/node_modules/@stdlib/math/base/special/signumf Expand file tree Collapse file tree 1 file changed +85
-1
lines changed Original file line number Diff line number Diff line change 6969 " single-precision" ,
7070 " f32" ,
7171 " flt"
72- ]
72+ ],
73+ "__stdlib__" : {
74+ "scaffold" : {
75+ "$schema" :
" math/[email protected] " ,
76+ "base_alias" : " signum" ,
77+ "alias" : " signumf" ,
78+ "pkg_desc" : " evaluate the signum function for a single-precision floating-point number" ,
79+ "desc" : " evaluates the signum function for a single-precision floating-point number" ,
80+ "short_desc" : " signum" ,
81+ "parameters" : [
82+ {
83+ "name" : " x" ,
84+ "desc" : " input value" ,
85+ "type" : {
86+ "javascript" : " number" ,
87+ "jsdoc" : " number" ,
88+ "c" : " float" ,
89+ "dtype" : " float32"
90+ },
91+ "domain" : [
92+ {
93+ "min" : " -infinity" ,
94+ "max" : " infinity"
95+ }
96+ ],
97+ "rand" : {
98+ "prng" : " random/base/uniform" ,
99+ "parameters" : [
100+ -100 ,
101+ 100
102+ ]
103+ },
104+ "example_values" : [
105+ -100 ,
106+ -50 ,
107+ -10 ,
108+ -5 ,
109+ -3.5 ,
110+ -1 ,
111+ -0.5 ,
112+ -0.1 ,
113+ 0 ,
114+ 0.1 ,
115+ 0.5 ,
116+ 1 ,
117+ 3.5 ,
118+ 5 ,
119+ 10 ,
120+ 25 ,
121+ 50 ,
122+ 75 ,
123+ 100 ,
124+ -75
125+ ]
126+ }
127+ ],
128+ "output_policy" : " real_floating_point_and_generic" ,
129+ "returns" : {
130+ "desc" : " signum" ,
131+ "type" : {
132+ "javascript" : " number" ,
133+ "jsdoc" : " number" ,
134+ "c" : " float" ,
135+ "dtype" : " float32"
136+ }
137+ },
138+ "keywords" : [
139+ " signum" ,
140+ " sign" ,
141+ " value" ,
142+ " number" ,
143+ " special function" ,
144+ " special" ,
145+ " function" ,
146+ " float32" ,
147+ " float" ,
148+ " single-precision" ,
149+ " f32" ,
150+ " flt"
151+ ],
152+ "extra_keywords" : [
153+ " math.sign"
154+ ]
155+ }
156+ }
73157}
You can’t perform that action at this time.
0 commit comments