You are viewing a single comment's thread. Return to all comments →
if(x>=-(1<<15) && x<=(1<<15)-1)System.out.printf("* short\n"); if(x>=-(1<<31) && x<=(1<<31)-1)System.out.printf("* int\n"); if(x>=-(1L<<63) && x<=(1L<<63)-1)System.out.printf("* long\n");
Seems like cookies are disabled on this browser, please enable them to open this website
Java Datatypes
You are viewing a single comment's thread. Return to all comments →