Hi -
> The language currently supports casting from a tuple to a complex, e.g.
>
> var b = (1.0, 2.0):complex;
>
> but the inverse operation is not implemented. (Adding
> it would be a reasonable feature request in my opinion;
> one would just need to add a _cast overload in ChapelTuple):
>
> var tup = (1.0+2.0i):(real, real); // doesn't compile today
Should I stick that on Github, put it into some global wishlist, or
resubmit it in 2021 after the COVID-19 vaccine is being produced!
I went ahead and created issue 15993 on your behalf
https://github.com/chapel-lang/chapel/issues/15993
Thanks,
-michael
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers