next up previous contents
Next: Stack Operations Up: Appendix C - Reverse Previous: Binary Operations   Contents

Unary Operations

The unary operations operate only on the variable x, placing the result of the operation back into position x. The values in positions y and z are not changed. The allowed unary operations in CCICAP are:



Operator Definition
EXP x = EXP(x) (exponential)
LN x = LN(x) (natural log)
SIN x = SIN(x) (Sin, x in radians)
COS x = COS(x) (Cos, x in radians)
TAN x = TAN(x) (Tan, x in radians)
SQRT x = SQRT(x) (square root)
CHS x = -x (change sign)
CC x = CONJG(x)(complex conjugate)
RE x = REAL(x) (extract real part)
IM x = IMAG(x) (extract imaginary part)





Bob Smither 2008-11-19