Here you can find the source of DoubleToLong_With_Little_Endian(double dd)
public static long DoubleToLong_With_Little_Endian(double dd)
//package com.java2s; //License from project: Open Source License public class Main { public static long DoubleToLong_With_Little_Endian(double dd) { return Long.reverseBytes(Double.doubleToLongBits(dd)); }//from w w w. jav a 2 s . c om }