T(RN, 0x0p+0L, 0, 0)
T(RN, -0x0p+0L, 0, 0)
T(RN, 0x1p-1L, 0, INEXACT)
T(RN, -0x1p-1L, 0, INEXACT)
T(RN, 0x1p+0L, 1, 0)
T(RN, -0x1p+0L, -1, 0)
T(RN, 0x1.0001p+0L, 1, INEXACT)
T(RN, -0x1.0001p+0L, -1, INEXACT)
T(RN, 0x1.ffffp-1L, 1, INEXACT)
T(RN, -0x1.ffffp-1L, -1, INEXACT)
T(RN, 0x1p-100L, 0, INEXACT)
T(RN, -0x1p-100L, 0, INEXACT)
// TODO: return value is unspecified
T(RN, nan, -2147483648, INVALID)
T(RN, inf, -2147483648, INVALID)
T(RN, -inf, -2147483648, INVALID)
T(RN, 0x1p+100, -2147483648, INVALID)
T(RN, -0x1p+100, -2147483648, INVALID)