Float.java, [...]: Add GCJ LOCAL markers.
* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL markers. From-SVN: r71699
This commit is contained in:
parent
fff2cb99c9
commit
da64f72ecd
3 changed files with 17 additions and 0 deletions
|
@ -438,7 +438,9 @@ public final class Float extends Number implements Comparable
|
|||
* @return the bits of the <code>float</code>
|
||||
* @see #intBitsToFloat(int)
|
||||
*/
|
||||
// GCJ LOCAL: We diverge from Classpath for efficiency.
|
||||
public static native int floatToIntBits(float value);
|
||||
// END GCJ LOCAL
|
||||
|
||||
/**
|
||||
* Convert the float to the IEEE 754 floating-point "single format" bit
|
||||
|
@ -453,7 +455,9 @@ public final class Float extends Number implements Comparable
|
|||
* @return the bits of the <code>float</code>
|
||||
* @see #intBitsToFloat(int)
|
||||
*/
|
||||
// GCJ LOCAL: We diverge from Classpath for efficiency.
|
||||
public static native int floatToRawIntBits(float value);
|
||||
// END GCJ LOCAL
|
||||
|
||||
/**
|
||||
* Convert the argument in IEEE 754 floating-point "single format" bit
|
||||
|
@ -468,7 +472,9 @@ public final class Float extends Number implements Comparable
|
|||
* @see #floatToIntBits(float)
|
||||
* @see #floatToRawIntBits(float)
|
||||
*/
|
||||
// GCJ LOCAL: We diverge from Classpath for efficiency.
|
||||
public static native float intBitsToFloat(int bits);
|
||||
// END GCJ LOCAL
|
||||
|
||||
/**
|
||||
* Compare two Floats numerically by comparing their <code>float</code>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue