Structs

Polar complex nuber.

Functions

Calculate the absolute value of the argument.

Add two complex fixed-point numbers in cartesian form.

Divide a cartesian complex by a real scalar. c = a/b

Divide a cartesian complex by a real scalar. c = a/b

Multiply two cartesian complex numbers.

Multiply fixed-point complex numbers in polar form.

Rase a complex fixed-point number to an real-valued integer power. base^power.

Subtract b from a. c = a-b

Cast cartesian complex fixed point number to polar form.

Cast cartesian complex fixed point number to polar form.