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:
parent
d0d8ef7270
commit
65ca575632
|
@ -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`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue