Section 8. processing and math instructions, Angledegrees, Bit shift operators (<< and >>) – Campbell Scientific CR9000X Measurement and Control System User Manual
Page 287: Operators

Section 8. Processing and Math
Instructions
Operators
^
Raise to Power
>>
Bit shift operator
/
Divide
<<
Bit shift operator
-
Subtract
& String
concatenation
<>
Not Equal
AND
Logical conjunction
<
Less Than
EQV
Logical Equivalence
<=
Less Than or Equal
INTDV Integer divide
*
Multiply
MOD
Modulo
divide
+
Add
NOT Logical
negation
=
Equals
OR Logical
disjunction
>
Greater Than
XOR
Logical exclusion
>=
Greater Than or Equal
AngleDegrees
The AngleDegrees declaration is used to set math functions in the program to
return, or to expect as the source, degrees instead of radians.
Syntax
AngleDegrees
Remarks
The AngleDegrees instruction is placed in the declarations section of the
program, before the code enclosed in the BeginProg/EndProg instructions.
AngleDegrees affects the following instructions that return an angle in radians:
ATN, ATN2, ACOS, ASIN, RectPolar.
Angle Degrees affects the following instructions that expect an angle in radians
as the source: COS, COSH, TAN, TANH, SIN, SINH.
Negative radians will convert to negative degrees.
Bit Shift Operators (<< and >>)
The bit shift operators (>> or <<) perform an arithmetic bit shift operation on a
numeric expression.
Syntax
<< : Bit shift left
Variable = Numeric Expression >> Amount
>>
Bit shift right
Variable = Numeric Expression >> Amount
8-1