3 T(RN
, 0x1p
-1L, 1, INEXACT
)
4 T(RN
, -0x1p
-1L, -1, INEXACT
)
7 T(RN
, 0x1.0001p
+0L, 1, INEXACT
)
8 T(RN
, -0x1.0001p
+0L, -1, INEXACT
)
9 T(RN
, 0x1.ffffp
-1L, 1, INEXACT
)
10 T(RN
, -0x1.ffffp
-1L, -1, INEXACT
)
11 T(RN
, 0x1p
-100L, 0, INEXACT
)
12 T(RN
, -0x1p
-100L, 0, INEXACT
)
13 // TODO: return value is unspecified
15 T(RN
, nan
, 0, INVALID
)
16 T(RN
, inf
, 0, INVALID
)
17 T(RN
, -inf
, 0, INVALID
)
18 T(RN
, 0x1p
+100L, 0, INVALID
)
19 T(RN
, -0x1p
+100L, 0, INVALID
)