Table of Contents

Enum NcBinaryOp

Namespace
Hi.NcParsers.EvaluationSyntaxs.Evaluation
Assembly
HiMech.dll

Binary operators allowed in Fanuc Custom Macro B value expressions.

public enum NcBinaryOp
Extension Methods

Fields

Add = 0

a + b.

And = 11

a AND b — bitwise AND on operands truncated to long. Non-finite or out-of-range operands surface Arithmetic–MathError.

Divide = 3

a / b.

Eq = 5

a EQ b — equal; yields 1.0 (true) or 0.0 (false).

Ge = 8

a GE b — greater than or equal; yields 1.0 or 0.0.

Gt = 7

a GT b — greater than; yields 1.0 or 0.0.

Le = 10

a LE b — less than or equal; yields 1.0 or 0.0.

Lt = 9

a LT b — less than; yields 1.0 or 0.0.

Mod = 4

a MOD b (truncated remainder, sign of a).

Multiply = 2

a * b.

Ne = 6

a NE b — not equal; yields 1.0 or 0.0.

Or = 12

a OR b — bitwise OR on operands truncated to long. Non-finite or out-of-range operands surface Arithmetic–MathError.

Subtract = 1

a - b.

Xor = 13

a XOR b — bitwise XOR on operands truncated to long. Non-finite or out-of-range operands surface Arithmetic–MathError.