Fortran Wiki
merge_bits