You are viewing a single comment's thread. Return to all comments →
try this :- long num2 = (long)Math.pow((double)2,(double)63); long x = sc.nextLong(); ...... ...... if(x>=-m2 && x<=m2-1)System.out.println("* long");
Java Datatypes
You are viewing a single comment's thread. Return to all comments →
try this :- long num2 = (long)Math.pow((double)2,(double)63); long x = sc.nextLong(); ...... ...... if(x>=-m2 && x<=m2-1)System.out.println("* long");