log2em1 was redundant with log2_em1 and contained wrong code