Commit da64f72e by Nathanael Nerode

Float.java, [...]: Add GCJ LOCAL markers.

	* java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
	markers.

From-SVN: r71699
parent fff2cb99
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> 2003-09-22 Anthony Green <green@redhat.com>
* configure.in (HAVE_USLEEP_DECL): Define for newlib build. * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
......
...@@ -428,7 +428,9 @@ public final class Double extends Number implements Comparable ...@@ -428,7 +428,9 @@ public final class Double extends Number implements Comparable
* @return the bits of the <code>double</code> * @return the bits of the <code>double</code>
* @see #longBitsToDouble(long) * @see #longBitsToDouble(long)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native long doubleToLongBits(double value); public static native long doubleToLongBits(double value);
// END GCJ LOCAL
/** /**
* Convert the double to the IEEE 754 floating-point "double format" bit * Convert the double to the IEEE 754 floating-point "double format" bit
...@@ -444,7 +446,9 @@ public final class Double extends Number implements Comparable ...@@ -444,7 +446,9 @@ public final class Double extends Number implements Comparable
* @return the bits of the <code>double</code> * @return the bits of the <code>double</code>
* @see #longBitsToDouble(long) * @see #longBitsToDouble(long)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native long doubleToRawLongBits(double value); public static native long doubleToRawLongBits(double value);
// END GCJ LOCAL
/** /**
* Convert the argument in IEEE 754 floating-point "double format" bit * Convert the argument in IEEE 754 floating-point "double format" bit
...@@ -459,7 +463,9 @@ public final class Double extends Number implements Comparable ...@@ -459,7 +463,9 @@ public final class Double extends Number implements Comparable
* @see #doubleToLongBits(double) * @see #doubleToLongBits(double)
* @see #doubleToRawLongBits(double) * @see #doubleToRawLongBits(double)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native double longBitsToDouble(long bits); public static native double longBitsToDouble(long bits);
// END GCJ LOCAL
/** /**
* Compare two Doubles numerically by comparing their <code>double</code> * Compare two Doubles numerically by comparing their <code>double</code>
......
...@@ -438,7 +438,9 @@ public final class Float extends Number implements Comparable ...@@ -438,7 +438,9 @@ public final class Float extends Number implements Comparable
* @return the bits of the <code>float</code> * @return the bits of the <code>float</code>
* @see #intBitsToFloat(int) * @see #intBitsToFloat(int)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native int floatToIntBits(float value); public static native int floatToIntBits(float value);
// END GCJ LOCAL
/** /**
* Convert the float to the IEEE 754 floating-point "single format" bit * Convert the float to the IEEE 754 floating-point "single format" bit
...@@ -453,7 +455,9 @@ public final class Float extends Number implements Comparable ...@@ -453,7 +455,9 @@ public final class Float extends Number implements Comparable
* @return the bits of the <code>float</code> * @return the bits of the <code>float</code>
* @see #intBitsToFloat(int) * @see #intBitsToFloat(int)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native int floatToRawIntBits(float value); public static native int floatToRawIntBits(float value);
// END GCJ LOCAL
/** /**
* Convert the argument in IEEE 754 floating-point "single format" bit * Convert the argument in IEEE 754 floating-point "single format" bit
...@@ -468,7 +472,9 @@ public final class Float extends Number implements Comparable ...@@ -468,7 +472,9 @@ public final class Float extends Number implements Comparable
* @see #floatToIntBits(float) * @see #floatToIntBits(float)
* @see #floatToRawIntBits(float) * @see #floatToRawIntBits(float)
*/ */
// GCJ LOCAL: We diverge from Classpath for efficiency.
public static native float intBitsToFloat(int bits); public static native float intBitsToFloat(int bits);
// END GCJ LOCAL
/** /**
* Compare two Floats numerically by comparing their <code>float</code> * Compare two Floats numerically by comparing their <code>float</code>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment