I tried to convert a double to its binary representation, but using this Long.toBinaryString(Double.doubleToRawLongBits(d)) doesn\'t help, since I have large nu
Long.toBinaryString(Double.doubleToRawLongBits(d))
You can use a BigInteger to hold your large number and the BigInteger.toString() method to retrieve a binary representation of it.
BigInteger bigNum = new BigInteger(sYourNum); System.out.println( bigNum.toString(2) );