Required Static Methodswift-numerics 1.0.3RealModule

pow(_:_:)

x raised to the nth power.

ElementaryFunctions.swift:313
static func pow(_ x: Self, _ n: Int) -> Self

The edge-cases of this function are defined in terms of repeated multiplication or division, rather than exp(n log x). In particular, Float.pow(0, 0) is 1.

See also sqrt() and root().