/[classpath]/classpath/native/jni/java-lang/java_lang_VMFloat.c
ViewVC logotype

Diff of /classpath/native/jni/java-lang/java_lang_VMFloat.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by egagnon, Mon Mar 29 07:07:27 2004 UTC revision 1.3.2.1 by gnu_andrew, Sat Jan 15 17:02:22 2005 UTC
# Line 1  Line 1 
1  /* VMFloat.c - java.lang.VMFloat native functions  /* VMFloat.c - java.lang.VMFloat native functions
2     Copyright (C) 1998, 1999, 2003 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2003, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 45  exception statement from your version. * Line 45  exception statement from your version. *
45   * Method:    floatToIntBits   * Method:    floatToIntBits
46   * Signature: (F)I   * Signature: (F)I
47   */   */
48  JNIEXPORT jint JNICALL Java_java_lang_VMFloat_floatToIntBits  JNIEXPORT jint JNICALL
49    (JNIEnv * env, jclass cls, jfloat value)  Java_java_lang_VMFloat_floatToIntBits
50      (JNIEnv * env __attribute__((__unused__)),
51       jclass cls __attribute__((__unused__)),
52       jfloat value)
53  {  {
54      jvalue u;      jvalue u;
55      jint e, f;      jint e, f;
# Line 65  JNIEXPORT jint JNICALL Java_java_lang_VM Line 68  JNIEXPORT jint JNICALL Java_java_lang_VM
68   * Method:    floatToRawIntBits   * Method:    floatToRawIntBits
69   * Signature: (F)I   * Signature: (F)I
70   */   */
71  JNIEXPORT jint JNICALL Java_java_lang_VMFloat_floatToRawIntBits  JNIEXPORT jint JNICALL
72    (JNIEnv * env, jclass cls, jfloat value)  Java_java_lang_VMFloat_floatToRawIntBits
73      (JNIEnv * env __attribute__((__unused__)),
74       jclass cls __attribute__((__unused__)),
75       jfloat value)
76  {  {
77    jvalue u;    jvalue u;
78    u.f = value;    u.f = value;
# Line 78  JNIEXPORT jint JNICALL Java_java_lang_VM Line 84  JNIEXPORT jint JNICALL Java_java_lang_VM
84   * Method:    intBitsToFloat   * Method:    intBitsToFloat
85   * Signature: (I)F   * Signature: (I)F
86   */   */
87  JNIEXPORT jfloat JNICALL Java_java_lang_VMFloat_intBitsToFloat  JNIEXPORT jfloat JNICALL
88    (JNIEnv * env, jclass cls, jint bits)  Java_java_lang_VMFloat_intBitsToFloat
89      (JNIEnv * env __attribute__((__unused__)),
90       jclass cls __attribute__((__unused__)),
91       jint bits)
92  {  {
93      jvalue u;      jvalue u;
94      u.i = bits;      u.i = bits;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26