On Thu, 24 Apr 2008 18:17:29 +0100 Claude Heiland-Allen claudiusmaximus@goto10.org wrote:
Since it would be in core how about ^ or **
^ is usually bitwise XOR (in C, and Pd's expr).
I think the presence in [expr~] is enough to exclude that option.
** is used for powers in a number of languages (Haskell, Fortran too I think).
It's a strong choice notwithstanding:
But, there is the potential confusion of [pow][pow~][**][**~], it would be nice if the signal version of maths behaved the same as the non-signal maths with the same name (confusing if [pow] exists but the signal equivalent is [**~]).
This would mean breaking backwards with Cyclone. It would also be a nasty break because patches would simply fail to compute correctly rather than throwing any kind of detectable error.
However, for my vote I am ready to take this step. Cyclones ordering really seems to be in error. x^y seems natural to put the exponent in the second argument.