c/numeric/complex/carg

@1-3@ Computes the argument (also called phase angle) of, with a branch cut along the negative real axis. @4@ Type-generic macro: if has type, , or ,  is called. If  has type, , or ,  is called. If has type, , , or any integer type,  is called.

Return value
If no errors occur, returns the phase angle of in the interval $[−π; π]$.

Errors and special cases are handled as if the function is implemented as