On Sat, Nov 11, 2017 at 2:12 PM, RedTigerFish <chihuyu@gmail.com> wrote:
Is it because that +, -, *, / have more precedence over power ?
Others already gave good answers but I want to point out just one thing: the precedence rule is purely syntactical (i.e. computer decides it from only the text). What those methods actually do is irrelevant.
For example, you can define a method called **, such as: