Off-by-ones on data sizes in documentation (#57735)

Fixes exponent off-by-ones in Painless documentation for int and long.
This commit is contained in:
Matthias Gärtner 2020-06-12 18:57:53 +02:00 committed by Jack Conradson
parent d0d8ef7270
commit 65ca575632
1 changed files with 2 additions and 2 deletions

View File

@ -46,13 +46,13 @@ The following primitive types are available:
`int`:: `int`::
32-bit, signed, two's complement integer 32-bit, signed, two's complement integer
* range: [`-2^32`, `2^32-1`] * range: [`-2^31`, `2^31-1`]
* default value: `0` * default value: `0`
* reference type: `Integer` * reference type: `Integer`
`long`:: `long`::
64-bit, signed, two's complement integer 64-bit, signed, two's complement integer
* range: [`-2^64`, `2^64-1`] * range: [`-2^63`, `2^63-1`]
* default value: `0` * default value: `0`
* reference type: `Long` * reference type: `Long`