4 ms·
Nice tool, but the calculator executes division before exponentiation. E.g. 2^4/2 is evaluated to 4, not 8. However, it executes exponentiation first before mul
by abfar 1y ago
Nice tool, but the calculator executes division before exponentiation. E.g. 2^4/2 is evaluated to 4, not 8. However, it executes exponentiation first before multiplication (e.g. 2^2*3 is evaluated to 12). Is this intentional?
- bobeboph 1y agoThis is intentional, even if unexpected, as shown in line 152 of the link (turn on line numbers in the settings menu). I agree that following PEMDAS would make more sense. Edit: it's the equation below "Although if you want to find roots higher than 3..."
- deleted 1y ago[deleted]
- zamadatix 1y agoMaybe the author did intentionally break order of operations for shorthand on other roots, maybe they just forgot that's not how it's normally parsed. 152 doesn't comment on intent one way or the other, it just demonstrates how it currently is.
- tonyonodi 1y agoYeah, you're correct, it's intentional. Though it's pretty gross to be honest.