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

Non-standard Order of operations with exponents #428

Closed
benjamin-edward-morgan opened this issue Jun 25, 2022 · 1 comment
Closed

Non-standard Order of operations with exponents #428

benjamin-edward-morgan opened this issue Jun 25, 2022 · 1 comment

Comments

@benjamin-edward-morgan
Copy link

For escad code:

echo(2*3^2);
echo(-2^2);

I would expect:

18.0
-4.0

But instead I get:

36.0
4.0
@julialongtin
Copy link
Member

should be fixed! let us know if you have any more problems with this.

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