+2004-10-18 Sven de Marothy <sven@physto.se>
+
+ * java/nio/ByteBufferHelper.java
+ (putDouble): Use Double.toRawLongBits instead.
+
2004-10-18 Mark Wielaard <mark@klomp.org>
Andrew Haley <aph@redhat.com>
public static void putDouble (ByteBuffer buffer, double value, ByteOrder order)
{
- putLong (buffer, Double.doubleToLongBits (value), order);
+ putLong (buffer, Double.doubleToRawLongBits (value), order);
}
public static double getDouble (ByteBuffer buffer, int index, ByteOrder order)
public static void putDouble (ByteBuffer buffer, int index,
double value, ByteOrder order)
{
- putLong (buffer, index, Double.doubleToLongBits (value), order);
+ putLong (buffer, index, Double.doubleToRawLongBits (value), order);
}
} // ByteBufferHelper
+