You are viewing a single comment's thread. Return to all comments →
All test cases have been passed
There is only one wrong in your code , you just make the last test case as if(x>=Math.pow(-2,63) && x<= Math.pow(2,63)).
You basically needed to add an equal there, else it wont work.
Hope this helps
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 →
All test cases have been passed
There is only one wrong in your code , you just make the last test case as if(x>=Math.pow(-2,63) && x<= Math.pow(2,63)).
You basically needed to add an equal there, else it wont work.
Hope this helps