Stefan Behnel wrote: > Dag Sverre Seljebotn, 28.10.2009 16:46: > >> I just attempted >> >> (<double complex>x) * z >> >> where x is float. (To work around a certain recently reported bug.) >> However conversion to complex this way is not supported. Is this a >> feature or a bug? >> > > IMHO, neither of the two, but I wouldn't mind supporting that. There is > little ambiguity in the above cast. I assume the above would simply use a > stack allocated complex temp variable to store the converted complex value, > right? > Yes. I forgot to say that erronoues C code is currently generated, so it's a bug no matter how one looks at it, just wondering in which direction it should be fixed...
I'm not sure when I'll have time to fix all these complex issues but I'll keep them in mind. Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
