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