Python LanguageExponentiation

Syntax

  • value1 ** value2
  • pow(value1, value2[, value3])
  • value1.__pow__(value2[, value3])
  • value2.__rpow__(value1)
  • operator.pow(value1, value2)
  • operator.__pow__(value1, value2)
  • math.pow(value1, value2)
  • math.sqrt(value1)
  • math.exp(value1)
  • cmath.exp(value1)
  • math.expm1(value1)