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, INVALID)
T(RN, -inf, -0x1p+0, nan, 0x0p+0, 2, INVALID)
T(RN, nan, -0x1p+0, nan, 0x0p+0, 2, 0)
T(RN, 0x0p+0, 0x0p+0, nan, 0x0p+0, 2, INVALID)
T(RN, 0x0p+0, -0x0p+0, nan, 0x0p+0, 2, INVALID)
T(RN, 0x0p+0, inf, 0x0p+0, 0x0p+0, 0, 0)
T(RN, 0x0p+0, -inf, 0x0p+0, 0x0p+0, 0, 0)
T(RN, 0x0p+0, nan, nan, 0x0p+0, 0, 0)
T(RN, -0x0p+0, 0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, -0x0p+0, -0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, -0x0p+0, inf, -0x0p+0, 0x0p+0, 0, 0)
T(RN, -0x0p+0, -inf, -0x0p+0, 0x0p+0, 0, 0)
T(RN, -0x0p+0, nan, nan, 0x0p+0, 0, 0)
T(RN, 0x1p+0, 0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, -0x1p+0, 0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, inf, 0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, 0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, nan, 0x0p+0, nan, 0x0p+0, 0, 0)
T(RN, -0x1p+0, -0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, inf, -0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, -0x0p+0, nan, 0x0p+0, 0, INVALID)
T(RN, nan, -0x0p+0, nan, 0x0p+0, 0, 0)
T(RN, inf, 0x1p+1, nan, 0x0p+0, 0, INVALID)
T(RN, inf, -0x1p-1, nan, 0x0p+0, 0, INVALID)
T(RN, inf, nan, nan, 0x0p+0, 0, 0)
T(RN, -inf, 0x1p+1, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, -0x1p-1, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, nan, nan, 0x0p+0, 0, 0)
T(RN, nan, nan, nan, 0x0p+0, 0, 0)
T(RN, 0x1p+0, nan, nan, 0x0p+0, 0, 0)
T(RN, -0x1p+0, nan, nan, 0x0p+0, 0, 0)
T(RN, 0x1p+0, inf, 0x1p+0, 0x0p+0, 0, 0)
T(RN, -0x1p+0, inf, -0x1p+0, 0x0p+0, 0, 0)
T(RN, inf, inf, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, inf, nan, 0x0p+0, 0, INVALID)
T(RN, 0x1p+0, -inf, 0x1p+0, 0x0p+0, 0, 0)
T(RN, -0x1p+0, -inf, -0x1p+0, 0x0p+0, 0, 0)
T(RN, inf, -inf, nan, 0x0p+0, 0, INVALID)
T(RN, -inf, -inf, nan, 0x0p+0, 0, INVALID)
T(RN, 0x1.cp+0, 0x1p-1, -0x1p-2, 0x0p+0, 4, 0)
T(RN, -0x1.cp+0, 0x1p-1, 0x1p-2, 0x0p+0, -4, 0)
T(RN, 0x1.cp+0, -0x1p-1, -0x1p-2, 0x0p+0, -4, 0)
T(RN, -0x1.cp+0, -0x1p-1, 0x1p-2, 0x0p+0, 4, 0)