aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/Float.java
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-09-23 21:42:40 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-09-23 21:42:40 +0000
commitda64f72ecda1afa43ad171696454d77b60ca717a (patch)
treeb2c54e6f94580cd097d2d1b71bd977c2f7b5d7bd /libjava/java/lang/Float.java
parentfff2cb99c987f4e9f0a8dffc0c3acd363f8a097f (diff)
downloadgcc-da64f72ecda1afa43ad171696454d77b60ca717a.zip
gcc-da64f72ecda1afa43ad171696454d77b60ca717a.tar.gz
gcc-da64f72ecda1afa43ad171696454d77b60ca717a.tar.bz2
Float.java, [...]: Add GCJ LOCAL markers.
* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL markers. From-SVN: r71699
Diffstat (limited to 'libjava/java/lang/Float.java')
-rw-r--r--libjava/java/lang/Float.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/libjava/java/lang/Float.java b/libjava/java/lang/Float.java
index 930b841..d3065f6 100644
--- a/libjava/java/lang/Float.java
+++ b/libjava/java/lang/Float.java
@@ -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>