I am playing on Age of Engineering node 3 and I found out that I am not allowed to use command //calc. I think it would be useful if players were to be allowed to use this command because it is harmless command for calculating expressions. It would allow players to solve mathematical problems in game without having to open other app or asking in chat for the answer and getting intentionally wrong answer from other players.
It COULD be useful. However, there seems to be a lot of posts/threads around WorldEdit threads and issues about this causing crashes on servers or similar issues. As 1.10 is still Experimental, this would probably do more harm than good right now with the current development of 1.10.
yeah, there'd be that one dude who puts the most rediculous equation in there, and the server doesn't know what to do so it just crashes.
AoE contains HammerCore, which adds the Calculatron item. It should be able to calculate most things, and is available from Age 0 in AoE.
One of the values would either have to be higher than the max number a 64bit system can process as an actual number and not text, (9,223,372,036,854,775,807) which would cause the server to either crash or return 9,223,372,036,854,775,807 less than what it should. Extremelly poorly coded calculators are also known to crash when dividing by zero.
If the command //calc would be enabled, it would allow players to solve equations without using any external applications, what would be very convenient for players because they wouldn't need to alt-tab out of the game to solve equations.
That max value is actually the max value of a Long. The most commonly used Primitive Type is Integer (default value type in Java), which has a max value around 2.14 trillion. (2³²-1) Then there's Short (32,767) and Byte (127). Then there's things like Big Int which makes all the mentioned numbers look tiny. It all depends on what Primitive type the Dev uses, and what failsafes he added.
I'm almost sure 999,999,999,999,999,999,999,999,999^999,999,999,999,999,999,999,999,999 will cause an error regardless of the Primitive type.