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