Add float version of the double NaN tests

The double version uncovered a bug in Avian already,
so let's be safe and cover all the NaNs we have.
Merge pull request #2352 from soc/nan-tests

Add float version of the double NaN tests