| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
In java, one of the few programming languages with standardized precision data types, the following precisions are defined for the standard integer numerical types of the language. The ranges given are for signed integer values represented in standard two's complement form.
| Type name | Precision (binary bits) | Range |
|---|---|---|
byte
| 8 | -128 to +127 |
short
| 16 | -32,768 to 32,767 |
int
| 32 | -2,147,483,648 to 2,147,483,647 |
long
| 64 | -9,223,372,036,854,775,808 to -9,223,372,036,854,775,807 |