pub fn pow(left: Number, right: Number) -> Result<Number, String>
Returns a Number
to the power of another Number
- If you take
Length
to the power of NoType
, the result has a unit of Area
.
- If you take
Length
to the power of Length
, the result has a unit of Area
- If you take
Length
to the power of Area
, the result has a unit of Volume
- etc.