![Loctite CARTESIAN 200 series Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/loctite/cartesian-200-series/cartesian-200-series_operation-manual_1933806043.webp)
Arithmetic functions
The following can be used as arithmetic built-in functions.
x, y : Numeric value
n, m : Rounded integer value
Category Identifier
Description
Absolute
value
num abs(x)
num max(x,y)
Maximum
value
num min(x,y)
Minimum
value
num degrad(x)
Conversion from degree to radian (x*
π
/180)
num raddeg(x)
Conversion from radian to degree (x*180/
π
)
num sqrt(x)
Square
root
num sin(x)
Sine
num cos(x)
Cosine
num tan(x)
Tangent
num atan(x)
Arc
tangent
num atan2(x,y)
Arc
tangent
num int(x)
Maximum integer which does not exceed x
Ex: int (1.3)=1, int (-1.3)=-2
Integer part of x. sgn (x)*int (abs (x))
num ip(x)
(When x is a negative number, sgn(x) becomes -1 and
when x is a positive number, sgn(x) b1.)
Ex: ip (1.3)=1, ip (-1.3)=-1
num fp(x)
Decimal part of x. x-ip (x)
Ex: fp (1.3)=0.3, fp (-1.3)=-0.3
num
mod(x,y)
Value of x which makes y modulo. x-y*int (x/y)
num
remainder(x,y)
Remainder of dividing x by y. x-y*ip (x/y)
num
pow(x,y)
x to the power of y
Features II CARTESIAN Benchtop Robot
25