Drop power and exponentiation support in PLCgen.
In #847 (closed) it was decided that pow(a, b)
and cbrt(a)
support should be dropped for PLCgen, since:
- PLCs don't support
cbrt(a)
butcbrt(a)
is equivalent topow(a, 1/3)
, - PLCs don't support
pow(a, b)
witha < 0
, even withb
an non-negative integer value, - Use of
pow
with a non-integer valueb
is rare in control applications, and - Use of
pow
with an integer valueb
can be rewritten to a number of multiplications.
Addreses #847 (closed)