INTEGER
A 64-bit signed integer.
Decimal and hexadecimal literals are supported, the latter with a 0x
prefix.
For example:
set resp.status = 200;set var.i = 0x5a5a;
The INTEGER type can represent one more value on the negative side than on the positive side. Being 64-bit, its range is −(263) to 263 − 1 inclusive. That is, the minimum and maximum values are -9223372036854775808 and 9223372036854775807 respectively.
A leading -
for negative numbers is considered part of the
literal syntax, rather than as a separate unary operator.
Therefore a literal may be given with the maximum negative value:
set var.i = 9223372036854775807;set var.i = -9223372036854775808;