declare(z,complex)$ sign(z) => pnz sign(sqrt(z)) => pz
These are incorrect; they should both give an error the way sign(%i) does.
sign(%i)
csign is correct:
csign
declare(z,complex)$ csign(z) => complex csign(sqrt(z)) => complex
Log in to post a comment.