# Decoder: Arithmetic Functions

Document created by RSA Information Design and Development on Oct 23, 2017Last modified by RSA Information Design and Development on Nov 7, 2017
Version 2Show Document

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 Definition

The following table provides language definitions.

Node NameAttribute NameDescription
and Performs bitwise AND between two numbers.
nameVariable to AND result into.
valueNumber to AND into result.
or Performs bitwise OR between two numbers.
nameVariable to OR result into.
valueNumber to OR into result.
increment Performs ADDITION of two numbers.
valueNumber to ADD to initial value.
decrement Performs SUBTRACTION of two numbers.
nameVariable containing initial value AND to receive SUBTRACTION results.
valueNumber to SUBTRACT from initial value.
divide Performs DIVISION of two numbers.
nameVariable containing the initial value AND to receive DIVISION results.
valueNumber 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.
modulo Performs MODULO of two numbers.
nameVariable containing the initial value AND to receive MODULO results.
valueNumber 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.
multiply Performs MULTIPLICATION of two numbers.
nameVariable containing the initial value AND to receive MULTIPLICATION results.
valueNumber by which to MULTIPLY the initial value.
shiftleft Performs a binary shift left.
nameVariable containing the initial value AND to receive shift results.
valueNumber of bits to shift by.
shiftright Performs a binary shift right.
nameVariable containing the inital value AND to receive shift results.
valueNumber of bits to shift by.
Previous Topic:Flex Parser
You are here
Table of Contents > References > Services Config View - Files Tab > Flex Parser > Arithmetic Functions