summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2008-02-08 18:34:54 +0000
committerDalibor Topic <robilad@yahoo.com>2008-02-08 18:34:54 +0000
commit9096e377cd45af8a5a7570d464be84b0d1f8bb96 (patch)
treea2b5f4c23dc31f26ea4a38d57241bf511f76308b /vm
parentb60dc2c28fb17676f7bc4425258fbc6f80510a30 (diff)
downloadclasspath-9096e377cd45af8a5a7570d464be84b0d1f8bb96.tar.gz
2008-02-08 Dalibor Topic <robilad@kaffe.org>
* vm/reference/java/lang/VMFloat.java (floatToIntBits): Removed unused method. * native/jni/java-lang/java_lang_VMFloat.c (Java_java_lang_VMFloat_floatToIntBits): Removed unused function. * include/java_lang_VMDouble.h: Regenerated. * doc/cp-vmintegration.texinfo (java.lang.VMFloat): Removed unused method floatToIntBits. (java.lang.VMDouble): Use similar text to text used for floatToRawIntBits for doubleToLongBits.
Diffstat (limited to 'vm')
-rw-r--r--vm/reference/java/lang/VMFloat.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/vm/reference/java/lang/VMFloat.java b/vm/reference/java/lang/VMFloat.java
index 15348130f..26d89dc9d 100644
--- a/vm/reference/java/lang/VMFloat.java
+++ b/vm/reference/java/lang/VMFloat.java
@@ -67,21 +67,6 @@ final class VMFloat
* Convert the float to the IEEE 754 floating-point "single format" bit
* layout. Bit 31 (the most significant) is the sign bit, bits 30-23
* (masked by 0x7f800000) represent the exponent, and bits 22-0
- * (masked by 0x007fffff) are the mantissa. This function collapses all
- * versions of NaN to 0x7fc00000. The result of this function can be used
- * as the argument to <code>Float.intBitsToFloat(int)</code> to obtain the
- * original <code>float</code> value.
- *
- * @param value the <code>float</code> to convert
- * @return the bits of the <code>float</code>
- * @see #intBitsToFloat(int)
- */
- static native int floatToIntBits(float value);
-
- /**
- * Convert the float to the IEEE 754 floating-point "single format" bit
- * layout. Bit 31 (the most significant) is the sign bit, bits 30-23
- * (masked by 0x7f800000) represent the exponent, and bits 22-0
* (masked by 0x007fffff) are the mantissa. This function leaves NaN alone,
* rather than collapsing to a canonical value. The result of this function
* can be used as the argument to <code>Float.intBitsToFloat(int)</code> to