A
ppend
ix
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 873 of 909
Math Operators
The following table shows the math operators that are available for the SmartMotor.
Operator
Description
Basic operations:
+
Add
-
Subtract
*
Multiply
/
Divide
Logical operations:
>
Greater than
<
Less than
==
Equal to
<=
Less than or equal to
>=
Greater than or equal to
Integer operations:
^
Power limited to 4th power and below, integers only
&
Bitwise AND
|
Bitwise inclusive OR
!|
Bitwise exclusive OR
!=
Not equal to
%
Modulo (remainder) division
SQRT(value)
Integer square root
ABS(value)
Integer absolute value
Floating-point functions:
FSQRT(value)
Floating-point square root
FABS(value)
Floating-point absolute value
SIN(value)
Floating-point sine
COS(value)
Floating-point cosine
TAN(value)
Floating-point tangent
ASIN(value)
Floating-point arcsine
ACOS(value)
Floating-point arccosine
ATAN(value)
Floating-point arctangent
PI
Floating-point representation of pi
Appendix: Math Operators
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...