summaryrefslogtreecommitdiffstats
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/lang/Double.java6
-rw-r--r--libjava/java/lang/Float.java6
3 files changed, 17 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 31d82a6f1cf..342f95f629c 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
+ markers.
+
2003-09-22 Anthony Green <green@redhat.com>
* configure.in (HAVE_USLEEP_DECL): Define for newlib build.
diff --git a/libjava/java/lang/Double.java b/libjava/java/lang/Double.java
index 199f64ee5b8..95ee4ecb775 100644
--- a/libjava/java/lang/Double.java
+++ b/libjava/java/lang/Double.java
@@ -428,7 +428,9 @@ public final class Double extends Number implements Comparable
* @return the bits of the <code>double</code>
* @see #longBitsToDouble(long)
*/
+ // GCJ LOCAL: We diverge from Classpath for efficiency.
public static native long doubleToLongBits(double value);
+ // END GCJ LOCAL
/**
* Convert the double to the IEEE 754 floating-point "double format" bit
@@ -444,7 +446,9 @@ public final class Double extends Number implements Comparable
* @return the bits of the <code>double</code>
* @see #longBitsToDouble(long)
*/
+ // GCJ LOCAL: We diverge from Classpath for efficiency.
public static native long doubleToRawLongBits(double value);
+ // END GCJ LOCAL
/**
* Convert the argument in IEEE 754 floating-point "double format" bit
@@ -459,7 +463,9 @@ public final class Double extends Number implements Comparable
* @see #doubleToLongBits(double)
* @see #doubleToRawLongBits(double)
*/
+ // GCJ LOCAL: We diverge from Classpath for efficiency.
public static native double longBitsToDouble(long bits);
+ // END GCJ LOCAL
/**
* Compare two Doubles numerically by comparing their <code>double</code>
diff --git a/libjava/java/lang/Float.java b/libjava/java/lang/Float.java
index 930b8415076..d3065f6b01c 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>
OpenPOWER on IntegriCloud