Post #4270740
2026-07-31 05:26 UTC
@FishFace@ioc.exchange @beeoproblem@mastodon.gamedev.place
Math.
It's not a convention as if in one country there is another convention then the other, causing calculations to differ in different countries. That would be really difficult to write mathematically correct software that has to work the same across the world.
Replies (1)
-
@FishFace@ioc.exchange 2026-07-31 07:52
@x_hace@mastodon.green But there are software differences in how calculations are done: some software evaluates x/y/z as (x/y)/z while other software as x/(y/z). With mixed decorations, basic calculators evaluate left to right while more advanced ones use operator precedence. This can be a cause of real confusion, but you can always get what you want by placing brackets. In higher maths it continues, by the way: if you order the nodes in a tree, and a is a descendant of b, is a < b or b < a in the ordering? Both conventions are used. @beeoproblem@mastodon.gamedev.place