In this case, the exponentiation operator is another form of binary operator so the existing BinaryOp case class serves.
在本例中,求幂运算符是另一种形式的二进制运算符,所以使用现有BinaryOp case类就可以。
Finally, the operator ** performs exponentiation; that is, it raises a number to a power.
最后,再说个运算符**,它表示乘方,就是前一个数为底数,后一个数为指数的次幂运算。
应用推荐