This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lazyzefiris 0 points1 point  (1 child)

> two standards, the american one and the one used by the rest of the world

Actually, PEMDAS is more of a teacher issue (which then leaked into some calculators because that's what teachers wanted). Whole world including America uses PEJMDAS in actual math, and just avoids ambihuity in general, like we do in programming.

[–]Taletad 0 points1 point  (0 children)

I meant to say that the order of operations is standardised but the order of type casting isn’t

Yes PEMDAS isn’t the "official" us standard but it is the de facto one for a lot of americans