subogero/szg

power operator

Closed this issue · 3 comments

'Power of' operator would be usefull. (** perhaps)

foo *\* bar
means
foo \* _ \* bar
multiplying the last result with foo and bar.

What about ^? We don't have any logical operators anyway.

I think ^ is a good choice.

Implicit float conversion only if the power is negative of float.
Otherwise stay integer.