[PD] pow with negative numbers

Claude Heiland-Allen claude at mathr.co.uk
Sun Jun 7 02:57:02 CEST 2015


On 07/06/15 01:38, Chris McCormick wrote:
> So the "**" operator behaves differently from "pow(x, 2)".

It's more likely that:

     - x ** 2

means:

     - (x ** 2)

not:

     (- x) ** 2

See: <https://en.wikipedia.org/wiki/Order_of_operations>




More information about the Pd-list mailing list