Examples using... "math/cmplx"

Recent
Polar returns the absolute value r and phase θ of x, such that x = r * e**θi. The phase is in the range [-Pi, Pi].
ExampleExp computes Euler's identity.
Abs returns the absolute value (also called the modulus) of x.