operator ^ method

dynamic operator ^(
  1. Result other
)

Raises a result to a power.

Implementation

operator ^(Result other) {
  return Result(
      clean: approximate().pow(other.approximate().round().toInt()));
}