>>-COMPLEX(x,y)------------------------------------------------><
Abbreviation: CPLX
If x and y differ in base, the decimal argument is converted to binary. If they differ in scale, the fixed-point argument is converted to floating-point. The result has the common base and scale.
(min(N,max(p1-q1,p2-q2)+max(q1,q2)),max(q1,q2))
In this example, (p1,q1) and (p2,q2) are the precisions of x and y,
respectively, and N is the maximum number of digits allowed.After any necessary conversions have been performed, if the arguments are floating-point, the result has the precision of the longer argument.