Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a power operator available? #13

Closed
jakubsikorski opened this issue May 25, 2023 · 2 comments
Closed

Is there a power operator available? #13

jakubsikorski opened this issue May 25, 2023 · 2 comments

Comments

@jakubsikorski
Copy link

There is support for arithmetic operators + - * / but there is no operator for "the power of". In govaluate it's **.

Are you planning on adding such operator?

@maja42
Copy link
Owner

maja42 commented May 26, 2023

No, there is no power operator. But can add a pow function to get that functionality.
Although I don't see any reason against having a ** operator, I don't really have the time to implement it.

@maja42
Copy link
Owner

maja42 commented Mar 26, 2024

The power-operator is now available via **, see v1.4.0

@maja42 maja42 closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants