Here you can find the source of doubleToBits(double num)
public static String doubleToBits(double num)
//package com.java2s; //License from project: Open Source License public class Main { public static String doubleToBits(double num) { return Long.toBinaryString(Double.doubleToLongBits(num)); }//from w ww . j av a2s. c o m }