Issue #1481296: (again!) Make conversion of a float NaN to an int or