我要评分
获取效率
正确性
完整性
易理解

?cabs1

Add the absolute values of the real and imaginary parts of a complex number.

That is, y = |Re(A)| + |Im(A)|.

Interface Definition

Fortran interface:

RES = SCABS1(A)

RES = DCABS1(A)

Return Value

The calculation result is returned.