You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have overwritten the binary operator ^ to be the power function. (I want it to be a BinaryOperator and not just a simple function like pow(2, 4)) This works great, but it still has the low precedence of the XOR operator. To fix this I was thinking to overwrite the ExpressionParser but this feels hacky and wrong since this is not part of the public library.
Is there a better way of going about this?
The text was updated successfully, but these errors were encountered:
Hi,
I have overwritten the binary operator
^
to be the power function. (I want it to be a BinaryOperator and not just a simple function likepow(2, 4)
) This works great, but it still has the low precedence of the XOR operator. To fix this I was thinking to overwrite theExpressionParser
but this feels hacky and wrong since this is not part of the public library.Is there a better way of going about this?
The text was updated successfully, but these errors were encountered: