infnan: in pack, first test for the unlikely infnan-ness.

Also make the type I32, not char.
infnan: infnan-ness is unlikely.