Try /help prefixes
If you read the variable section of the help file you would see why that happened
//echo 1 $calc(3.14159 * (2 ^ %x % 3) - ($ticks / (10000 + 1)))