Skip to content

Commit 964b8e2

Browse files
committed
Add support for complex number dtypes
1 parent eea41fd commit 964b8e2

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

lib/node_modules/@stdlib/array/safe-casts/lib/safe_casts.json

+48
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"uint16": 0,
1010
"uint8": 0,
1111
"uint8c": 0,
12+
"complex128": 1,
13+
"complex64": 0,
1214
"generic": 1
1315
},
1416
"float32": {
@@ -21,6 +23,8 @@
2123
"uint16": 0,
2224
"uint8": 0,
2325
"uint8c": 0,
26+
"complex128": 1,
27+
"complex64": 1,
2428
"generic": 1
2529
},
2630
"int32": {
@@ -33,6 +37,8 @@
3337
"uint16": 0,
3438
"uint8": 0,
3539
"uint8c": 0,
40+
"complex128": 1,
41+
"complex64": 0,
3642
"generic": 1
3743
},
3844
"int16": {
@@ -45,6 +51,8 @@
4551
"uint16": 0,
4652
"uint8": 0,
4753
"uint8c": 0,
54+
"complex128": 1,
55+
"complex64": 1,
4856
"generic": 1
4957
},
5058
"int8": {
@@ -57,6 +65,8 @@
5765
"uint16": 0,
5866
"uint8": 0,
5967
"uint8c": 0,
68+
"complex128": 1,
69+
"complex64": 1,
6070
"generic": 1
6171
},
6272
"uint32": {
@@ -69,6 +79,8 @@
6979
"uint16": 0,
7080
"uint8": 0,
7181
"uint8c": 0,
82+
"complex128": 1,
83+
"complex64": 0,
7284
"generic": 1
7385
},
7486
"uint16": {
@@ -81,6 +93,8 @@
8193
"uint16": 1,
8294
"uint8": 0,
8395
"uint8c": 0,
96+
"complex128": 1,
97+
"complex64": 1,
8498
"generic": 1
8599
},
86100
"uint8": {
@@ -93,6 +107,8 @@
93107
"uint16": 1,
94108
"uint8": 1,
95109
"uint8c": 1,
110+
"complex128": 1,
111+
"complex64": 1,
96112
"generic": 1
97113
},
98114
"uint8c": {
@@ -105,8 +121,38 @@
105121
"uint16": 1,
106122
"uint8": 1,
107123
"uint8c": 1,
124+
"complex128": 1,
125+
"complex64": 1,
108126
"generic": 1
109127
},
128+
"complex128": {
129+
"float64": 0,
130+
"float32": 0,
131+
"int32": 0,
132+
"int16": 0,
133+
"int8": 0,
134+
"uint32": 0,
135+
"uint16": 0,
136+
"uint8": 0,
137+
"uint8c": 0,
138+
"complex128": 1,
139+
"complex64": 0,
140+
"generic": 1
141+
},
142+
"complex64": {
143+
"float64": 0,
144+
"float32": 0,
145+
"int32": 0,
146+
"int16": 0,
147+
"int8": 0,
148+
"uint32": 0,
149+
"uint16": 0,
150+
"uint8": 0,
151+
"uint8c": 0,
152+
"complex128": 1,
153+
"complex64": 1,
154+
"generic": 1
155+
},
110156
"generic": {
111157
"float64": 0,
112158
"float32": 0,
@@ -117,6 +163,8 @@
117163
"uint16": 0,
118164
"uint8": 0,
119165
"uint8c": 0,
166+
"complex128": 0,
167+
"complex64": 0,
120168
"generic": 1
121169
}
122170
}

0 commit comments

Comments
 (0)