| 1 | /*
|
|---|
| 2 |
|
|---|
| 3 | Date: 25 Aug 1998 16:04:00 -0000
|
|---|
| 4 | From: Andrew Haley <[email protected]>
|
|---|
| 5 | To: [email protected]
|
|---|
| 6 | Subject: Help: vtable problem?
|
|---|
| 7 |
|
|---|
| 8 | My little program:
|
|---|
| 9 |
|
|---|
| 10 | -----------------------------------------------------------------------
|
|---|
| 11 | import java.lang.*;
|
|---|
| 12 |
|
|---|
| 13 | public class widget
|
|---|
| 14 | {
|
|---|
| 15 | public static void main (String argv[])
|
|---|
| 16 | {
|
|---|
| 17 | int test = Float.floatToIntBits((float)2.0);
|
|---|
| 18 | String s = Integer.toHexString(test);
|
|---|
| 19 |
|
|---|
| 20 | System.out.print (s+"\n");
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | }
|
|---|
| 24 | -----------------------------------------------------------------------
|
|---|
| 25 | prints out
|
|---|
| 26 |
|
|---|
|
|---|