AngouriMath

Navigation

← Back to list of members

InvertNegativePowers

 Property

Summary

InvertNegativePowers(AngouriMath.Entity), as data.

Remarks

One rule, and the first here whose replacement is code rather than a pattern:
-1 * n is arithmetic on the bound integer and not a tree built around it, so
writing it as a pattern would produce a ^ (-1 * -3) where the switch produces a ^ 3. That costs the reversal —
ReplacementIsCode — which is the honest trade and is
recorded by the type rather than by a comment.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online