Numeric Metaprogramming module

This module provides various macros for metaprogramming on/with numeric values

Defines

#define ADD1(N)
Adds 1 to the given value, returning the result as a single token.
#define SUBTRACT1(N)
Subtracts 1 from the given value, returning the result as a single token.

Define documentation

#define ADD1(N)

Adds 1 to the given value, returning the result as a single token.

Parameters
N - The number to increment
Returns The sum, N + 1, as a single token

#define SUBTRACT1(N)

Subtracts 1 from the given value, returning the result as a single token.

Parameters
N - The number to decrement
Returns The difference, N - 1, as a single token