Jump to content

[Request] Merchant


t3n

Recommended Posts

  • 4 months later...
  • Moderators

Use what @Enyby posted http://www.tutorialspoint.com/compile_java_online.php

Quote

public class HelloWorld{

     public static void main(String []args){
         for (int i = 0; i < 100; i++) {
             long l = Double.doubleToLongBits((double)i);
             System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32)));
         }
        
     }
}

change the range that is set from 0 to 30 to a different range. 

 

 

Something like this

public class HelloWorld{

     public static void main(String []args){
         for (int i = 68000; i < 68001; i++) {
             long l = Double.doubleToLongBits((double)i);
             System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32)));
         }
        
     }
}

 

 

 

Link to comment
Share on other sites

  • 2 years later...

Idont get it...

On 4/10/2016 at 9:29 AM, NoFear said:

Use what @Enyby posted http://www.tutorialspoint.com/compile_java_online.php

change the range that is set from 0 to 30 to a different range. 

 

 

Something like this

public class HelloWorld{

     public static void main(String []args){
         for (int i = 68000; i < 68001; i++) {
             long l = Double.doubleToLongBits((double)i);
             System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32)));
         }
        
     }
}

 

 

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.