Skip to content
  • There are no suggestions because the search field is empty.

Arithmetic Functions

Arithmetic FunctionsArithmetic Functions

This topic defines language for the flex parser arithmetic functions.

This topic defines language for the flex parser arithmetic functions. All numbers are 64-bit unsigned values and subject to both underflow and overflow, depending on the operation.

Language DefinitionLanguage Definition

The following table provides language definitions.

  • Node Name: and
  • Attribute Name:
  • Description: Performs bitwise AND between two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable to AND result into.

  • Node Name:
  • Attribute Name: value
  • Description: Number to AND into result.

  • Node Name: or
  • Attribute Name:
  • Description: Performs bitwise OR between two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable to OR result into.

  • Node Name:
  • Attribute Name: value
  • Description: Number to OR into result.

  • Node Name: increment
  • Attribute Name:
  • Description: Performs ADDITION of two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the initial value AND to receive ADDITION results.

  • Node Name:
  • Attribute Name: value
  • Description: Number to ADD to initial value.

  • Node Name: decrement
  • Attribute Name:
  • Description: Performs SUBTRACTION of two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing initial value AND to receive SUBTRACTION results.

  • Node Name:
  • Attribute Name: value
  • Description: Number to SUBTRACT from initial value.

  • Node Name: divide
  • Attribute Name:
  • Description: Performs DIVISION of two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the initial value AND to receive DIVISION results.

  • Node Name:
  • Attribute Name: value
  • Description: Number by which to divide the initial value. Division by zero generates an error and stops any further processing of the current session by this parser.

  • Node Name: modulo
  • Attribute Name:
  • Description: Performs MODULO of two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the initial value AND to receive MODULO results.

  • Node Name:
  • Attribute Name: value
  • Description: Number by which to divide the initial value. Division by zero generates an error and stops any further processing of the current session by this parser.

  • Node Name: multiply
  • Attribute Name:
  • Description: Performs MULTIPLICATION of two numbers.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the initial value AND to receive MULTIPLICATION results.

  • Node Name:
  • Attribute Name: value
  • Description: Number by which to MULTIPLY the initial value.

  • Node Name: shiftleft
  • Attribute Name:
  • Description: Performs a binary shift left.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the initial value AND to receive shift results.

  • Node Name:
  • Attribute Name: value
  • Description: Number of bits to shift by.

  • Node Name: shiftright
  • Attribute Name:
  • Description: Performs a binary shift right.

  • Node Name:
  • Attribute Name: name
  • Description: Variable containing the inital value AND to receive shift results.

  • Node Name:
  • Attribute Name: value
  • Description: Number of bits to shift by.