github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/math/cmplx/pow.go (about)

     1  // Copyright 2010 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package cmplx
     6  
     7  // Powはx**y、すなわちyの底xの指数を返します。
     8  // [math.Pow] との一般的な互換性のために:
     9  //
    10  //	Pow(0, ±0)は1+0iを返します
    11  //	real(c)<0の場合のPow(0, c)は、imag(c)がゼロの場合はInf+0iを返し、それ以外の場合はInf+Inf iを返します。
    12  func Pow(x, y complex128) complex128