go/src/math/cmplx/isnan.go

// IsNaN reports whether either real(x) or imag(x) is NaN
// and neither is an infinity.
func IsNaN(x complex128) bool {}

// NaN returns a complex “not-a-number” value.
func NaN() complex128 {}