Double.java (doubleToRawLongBits): Now native.
* java/lang/Double.java (doubleToRawLongBits): Now native. * java/lang/Float.java (floatToRawIntBits): Likewise. * java/lang/natDouble.cc (doubleToRawLongBits): New method. * java/lang/natFloat.cc (floatToRawIntBits): Likewise. From-SVN: r39572
This commit is contained in:
committed by
Bryce McKinlay
parent
30f87f1a70
commit
0e206b71aa
@@ -138,13 +138,7 @@ public final class Double extends Number implements Comparable
|
||||
}
|
||||
|
||||
public static native long doubleToLongBits (double value);
|
||||
|
||||
public static long doubleToRawLongBits (double value)
|
||||
{
|
||||
// FIXME: Check that this is correct with respect to NaN values.
|
||||
return doubleToLongBits (value);
|
||||
}
|
||||
|
||||
public static native long doubleToRawLongBits (double value);
|
||||
public static native double longBitsToDouble (long bits);
|
||||
|
||||
public int compareTo (Double d)
|
||||
|
||||
Reference in New Issue
Block a user