Closed rickbrew closed 1 month ago
IIRC this was something that couldn't be resolved in a previous version of C#, but now it's possible?
You can't do something like,
int4 x = ...; int4 y = x << 1; // "ambiguous"
If you cast to int4 then it's fine of course
int4
int4 x = ...; int4 y = x << (int4)1;
Same thing happens if you use uint[4]:
uint[4]
There might be other shift scenarios that aren't working conveniently, I haven't looked just yet
IIRC this was something that couldn't be resolved in a previous version of C#, but now it's possible?
You can't do something like,
If you cast to
int4
then it's fine of courseSame thing happens if you use
uint[4]
:There might be other shift scenarios that aren't working conveniently, I haven't looked just yet