fix mod order

This commit is contained in:
2024-12-04 12:51:03 +00:00
parent 885a5b0387
commit c75be1c8ed

View File

@@ -20,8 +20,8 @@ var operations = []string{
"==",
"+",
"-",
"*",
"%",
"*",
"//",
"/",
"^",
@@ -918,9 +918,9 @@ func runOperation(o operationType, stack stack, stacklevel int) (any, ArErr) {
case 11:
return calcNegative(o, stack, stacklevel+1)
case 12:
return calcMul(o, stack, stacklevel+1)
case 13:
return calcMod(o, stack, stacklevel+1)
case 13:
return calcMul(o, stack, stacklevel+1)
case 14:
return calcIntDiv(o, stack, stacklevel+1)
case 15: