Lib/cmath
complex math library for Python's complex
infj: PyComplex[float64] = (re: 0.0, im: inf)
nanj: PyComplex[float64] = (re: 0.0, im: nan)
func isclose(a, b: Complex; rel_tol = 1e-9; abs_tol = 0.0): bool
func isfinite(z: PyComplex): bool
func isnan(z: PyComplex): bool
func log(z: PyComplex): PyComplex
func log(z: PyComplex; base: SomeNumber | PyComplex): PyComplex
func rect[T](r, phi: T): PyComplex[T]
template acos(x: PyComplex): untyped
template acosh(x: PyComplex): untyped
template asin(x: PyComplex): untyped
template asinh(x: PyComplex): untyped
template atan(x: PyComplex): untyped
template atanh(x: PyComplex): untyped
template exp(z: PyComplex): PyComplex
template log10(z: PyComplex): PyComplex
template phase(z: PyComplex): PyComplex
template polar(z: PyComplex): PyComplex
template sin(z: PyComplex): PyComplex
template sqrt(z: PyComplex): PyComplex