T(RN, 0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, -0x0p+0L, -0x0p+0L, -0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, -0x0p+0L, -0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, -0x0p+0L, 0x0p+0L, -0x0p+0L, -0x0p+0L, 0x0p+0, 0)
T(RN, 0x0p+0L, -0x0p+0L, -0x0p+0L, -0x0p+0L, 0x0p+0, 0)
T(RN, -0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, 0x0p+0L, -0x0p+0L, 0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, 0x0p+0L, 0x0p+0L, -0x0p+0L, 0x0p+0L, 0x0p+0, 0)
T(RN, 0x0p+0L, 0x0p+0L, nan, nan, 0x0p+0, 0)
T(RN, 0x0p+0L, nan, 0x0p+0L, nan, 0x0p+0, 0)
T(RN, nan, 0x0p+0L, 0x0p+0L, nan, 0x0p+0, 0)
T(RN, 0x0p+0L, 0x0p+0L, inf, inf, 0x0p+0, 0)
T(RN, 0x0p+0L, inf, 0x0p+0L, nan, 0x0p+0, INVALID)
T(RN, inf, 0x0p+0L, 0x0p+0L, nan, 0x0p+0, INVALID)
T(RN, 0x0p+0L, 0x0p+0L, -inf, -inf, 0x0p+0, 0)
T(RN, 0x0p+0L, -inf, 0x0p+0L, nan, 0x0p+0, INVALID)
T(RN, -inf, 0x0p+0L, 0x0p+0L, nan, 0x0p+0, INVALID)
T(RN, 0x1p+0L, inf, inf, inf, 0x0p+0, 0)
T(RN, 0x1p+0L, inf, -inf, nan, 0x0p+0, INVALID)
T(RN, 0x1p+0L, -inf, -inf, -inf, 0x0p+0, 0)
T(RN, 0x1p+0L, -inf, inf, nan, 0x0p+0, INVALID)
T(RN, -0x1p+0L, inf, inf, nan, 0x0p+0, INVALID)
T(RN, -0x1p+0L, inf, -inf, -inf, 0x0p+0, 0)
T(RN, -0x1p+0L, -inf, -inf, nan, 0x0p+0, INVALID)
T(RN, -0x1p+0L, -inf, inf, inf, 0x0p+0, 0)
T(RN, 0x1p+0L, 0x1p+0L, inf, inf, 0x0p+0, 0)
T(RN, 0x1p+0L, 0x1p+0L, -inf, -inf, 0x0p+0, 0)
T(RN, inf, -inf, 0x1p+0L, -inf, 0x0p+0, 0)
T(RN, -inf, -inf, 0x1p+0L, inf, 0x0p+0, 0)
T(RN, inf, inf, nan, nan, 0x0p+0, 0)
T(RN, inf, nan, inf, nan, 0x0p+0, 0)
T(RN, nan, inf, inf, nan, 0x0p+0, 0)
// TODO: invalid is optional
T(RN, inf, 0x0p+0L, nan, nan, 0x0p+0, INVALID)
T(RN, 0x0p+0L, inf, nan, nan, 0x0p+0, INVALID)
T(RN, -inf, 0x0p+0L, nan, nan, 0x0p+0, INVALID)
T(RN, 0x0p+0L, -inf, nan, nan, 0x0p+0, INVALID)
T(RN, 0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, 0x1.0000000001p-16400L, -0x1p-35, INEXACT|UNDERFLOW)
T(RN, -0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, -0x1.0000000003p-16400L, 0x1p-35, INEXACT|UNDERFLOW)
T(RD, 0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, 0x1.0000000001p-16400L, -0x1p-35, INEXACT|UNDERFLOW)
T(RD, -0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, -0x1.000000000308p-16400L, -0x1p+0, INEXACT|UNDERFLOW)
T(RU, 0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, 0x1.000000000108p-16400L, 0x1p+0, INEXACT|UNDERFLOW)
T(RU, -0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, -0x1.0000000003p-16400L, 0x1p-35, INEXACT|UNDERFLOW)
T(RZ, 0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, 0x1.0000000001p-16400L, -0x1p-35, INEXACT|UNDERFLOW)
T(RZ, -0x1.0000000001p-16000L, 0x1.0000000001p-400L, -0x1p-16440L, -0x1.0000000003p-16400L, 0x1p-35, INEXACT|UNDERFLOW)