We would like to know how to convert long to double bitwise.
public class Main { public static void main(String[] args) { long test = 0x401aaa9930be0dedL; double d = Double.longBitsToDouble(test); System.out.println(d); } }
The code above generates the following result.