When you put an expression like 10^20 in events it is calculated wrong.
Attach a Capx
dropbox.com/s/vv6hmwuk77fp1 ... .capx?dl=1
Description of Capx
It does two simple expressions and displays the result.
v1 = 10^20
ten = 10
v2 = ten^20
but 10^20 calculates wrong and ten^20 calculates correctly.
Steps to Reproduce Bug
Write 10^19 in an expression. 10^18 works, but 19 and higher doesn't.
It must be an issue with the constant folding since we can bypass the bug by using a variable ten=10 and then doing ten^19 to get a correct value.
v1 = -9223372036854776000
v2 = 100000000000000000000
v1 = 100000000000000000000
Internet Explorer: untested
Operating System and Service Pack
Construct 2 Version ID
Develop games in your browser. Powerful, performant & highly capable.
Fixed for next release.