Please enable JavaScript to view the comments powered by Disqus.Untitled
Search

Search
type
size(bits)
Minimum
Maximum
Example
16
-2^15
2^15-1
short s = 30_000;
32
-2^31
2^31-1
int i = 100000000;
64
-2^63
2^63-1
lont l = 100000000000000;
32
-2^-149
(2-2^-23) * 2^127
float f = 1.456f;
64
-2^-1074
(2-2^-52) * 2^1023
double d = 1.456789012345678;
16
0
2^16-1
char c = ‘c’;
1
-
-
boolean b = true;