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:
parent
30f87f1a70
commit
0e206b71aa
5 changed files with 27 additions and 17 deletions
|
@ -145,14 +145,7 @@ public final class Float extends Number implements Comparable
|
|||
}
|
||||
|
||||
public static native int floatToIntBits (float value);
|
||||
|
||||
public static int floatToRawIntBits (float value)
|
||||
{
|
||||
// FIXME: Is this supposed to be different? NaN values seem to be handled
|
||||
// the same in the JDK.
|
||||
return floatToIntBits (value);
|
||||
}
|
||||
|
||||
public static native int floatToRawIntBits (float value);
|
||||
public static native float intBitsToFloat (int bits);
|
||||
|
||||
public int compareTo (Float d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue