Although when it isn't a floating type I'm not clear why a message about nans is issued. What am I missing?