Tests for cast float/double to intN