Reputation: 8086
I know in Java that "int" is a 32 bit integer and that "long" is a 64 integer. I also know that in C "long long" is an integer at least as large as "long" (but implementation specific).
However I have recently come across some Java code using "long long" and wanted to know how exactly it was defined?
Upvotes: 5
Views: 22046
Reputation: 302
It support
int-16bit
long-32bit
for big number calculation you can use long as well as int .
Upvotes: 0
Reputation: 3909
I do not know a type called "long long".
it isn't also listed here: http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
Upvotes: 2
Reputation: 38531
There is no such type in Java. Are you sure the code you read was written in Java? Maybe it was a JNI routine that was called into?
Upvotes: 18