User's Manual

PMAC User Manual
Computational Features 157
LN
Function
natural logarithm function (log base e).
Syntax
LN ({expression})
Domain
all positive reals
Domain units
none
Range
all reals
Range units
none
Possible errors
illegal domain
EXP
Note:
To implement the y
x
function, use e
x
ln (y)
instead. A sample PMAC expression
would be EXP (P2*LN (P1)) to implement the function P1
P2
.
Function
exponentiation function (e
x
).
Syntax
EXP ({expression})
Domain
all reals
Domain units
none
Range
all positive reals
Range units
none
Possible errors
none
SQRT
Function
square root function.
Syntax
SQRT ({expression})
Domain
all non-negative reals
Domain units
free
Range
all non-negative reals
Range units
free
Possible errors
illegal domain
ABS
Function
absolute value function.
Syntax
ABS ({expression})
Domain
all reals
Domain units
free
Range
all non-negative reals
Range units
free
Possible errors
none
INT
Note:
This function returns the greatest integer less than or equal to the argument (INT
(2.5)=2, INT (-2.5)=-3).