0

what is the maximum value of integer that can be storded in a 64 bit machine/system??

8th Jul 2018, 2:45 PM
Dhanaraj S
Dhanaraj S - avatar
4 Antworten
+ 1
(2^64) - 1 That's assuming it's a 64 bit int. If it's a standard 32 bit int the number would be (2^32) - 1
8th Jul 2018, 2:47 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
+ 1
long -9,223,372,036,854,775,808 ~ 9,223,372,036,854,775,807 unsigned long 0 ~ 18,446,744,073,709,551,615
8th Jul 2018, 2:59 PM
Disvolviĝo;
Disvolviĝo; - avatar
+ 1
That is the range. You can't easily deal with numbers higher than that without using some hacks
9th Jul 2018, 12:34 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
but this is theoretical range ryt???... actually would the system have this range ???
9th Jul 2018, 9:54 AM
Dhanaraj S
Dhanaraj S - avatar