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))
Have you tried using java.math.BigInteger and calling toString(int radix) with a parameter of 2?
java.math.BigInteger
toString(int radix)