num::traits

Module pow

Source

Traits§

  • Binary operator for raising a value to a power.

Functions§

  • Raises a value to the power of exp, returning None if an overflow occurred.
  • Raises a value to the power of exp, using exponentiation by squaring.