Closed FabianNitsche closed 10 months ago
Sonic evaluates the expression 2*10^-2 to -2048 while it should be 0.02 This is because the AST builder interprets it as 2^10*-2 This is due to wrong precedence. I will provide a fix.
2*10^-2
-2048
0.02
2^10*-2
Hi Fabian, thanks for the find & the fix.
Published in 1.5.0.
Thank you for this very fast publish!
Sonic evaluates the expression
2*10^-2
to-2048
while it should be0.02
This is because the AST builder interprets it as2^10*-2
This is due to wrong precedence. I will provide a fix.