cleanup of float struct members, replacing libcom functions in encoder with fxd See merge request !371