Java tutorial
public class Main { public static void main(String[] args) { System.out.println(Float.intBitsToFloat(123)); System.out.println(Float.intBitsToFloat(0x7f800000)); System.out.println(Float.intBitsToFloat(0xff800000)); } }