go/src/math/cmplx/isinf.go

// IsInf reports whether either real(x) or imag(x) is an infinity.
func IsInf(x complex128) bool {}

// Inf returns a complex infinity, complex(+Inf, +Inf).
func Inf() complex128 {}