Stefan Behnel wrote: > Dag Sverre Seljebotn wrote: >> I happen to routinely write (some complex integer expression)**2 in >> Python, and it is tedious to manually store the expression in a temporary >> etc. in Cython. > > If you can come up with a sensible utility function that handles the > different C compile time and runtime overflow cases nicely, I'm all for > it.
So you are "+1 if I include an overflow check"? I was just thinking of letting it silently overflow, the way addition and multiplication already silently overflows. -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
