fix typo in fast_ldexp + remove unused typedef