Tests for cast intN to float/double