Stats

156 Contributors: 7 Saturday, July 23, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Exponentiation

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)

Related Examples