Combine your INTs to 32 bits using shift and bitwise OR, then run the result through Java's Float.intBitsToFloat() static method. Some inspiration: