Add float optizations back (but only on floats).