Cisco Cisco Customer Voice Portal Downloads Developer's Guide
A
CTION
E
LEMENT
:
M
ATH
E
LEMENT
S
PECIFICATIONS FOR
C
ISCO
U
NIFIED
C
USTOMER
V
OICE
P
ORTAL
R
ELEASE
4.0(1)
45
Operators
Functions
Operation
Operator
Power ^
Boolean Not
Boolean Not
!
Unary Plus, Unary Minus
+x, -x
Modulus %
Division /
Multiplication *
Addition, Subtraction
Division /
Multiplication *
Addition, Subtraction
+, -
Less or Equal, More or Equal <=, >=
Less Than, Greater Than
Less Than, Greater Than
<, >
Not Equal, Equal
!=, ==
Boolean And
&&
Boolean Or
||
Function
Syntax
Sine sin(x)
Cosine cos(x)
Tangent tan(x)
Arc Sine
Cosine cos(x)
Tangent tan(x)
Arc Sine
asin(x)
Arc Cosine
acos(x)
Arc Tangent
atan(x)
Arc Tangent (with 2 parameters) atan2(y, x)
Hyperbolic Sine
Hyperbolic Sine
sinh(x)
Hyperbolic Cosine
cosh(x)
Hyperbolic Tangent
tanh(x)
Inverse Hyperbolic Sine
asinh(x)
Inverse Hyperbolic Cosine
acosh(x)
Inverse Hyperbolic Tangent
atanh(x)
Natural Logarithm
ln(x)
Logarithm base 10
log(x)
Exponential exp(x)
Absolute Value / Magnitude
Absolute Value / Magnitude
abs()
Modulus mod()
Square Root
Square Root
sqrt()
Sum sum()
If if()
If if()