about summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-12-31 00:40:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-12-31 00:40:59 +0000
commit423c2b9d086a880199fcb46cc7b6672c13885eed (patch)
tree4861b0937d1f6ae3751b87cd3804405f26e6ce8d /math/libm-test.inc
parente7eceec0bc34b520a66c688dc81a0b0d4e36610f (diff)
downloadglibc-423c2b9d086a880199fcb46cc7b6672c13885eed.tar.gz
glibc-423c2b9d086a880199fcb46cc7b6672c13885eed.tar.xz
glibc-423c2b9d086a880199fcb46cc7b6672c13885eed.zip
Add fromfp functions.
TS 18661-1 defines fromfp functions (fromfp, fromfpx, ufromfp,
ufromfpx, and float and long double variants) to convert from
floating-point to an integer type with any signedness and any given
width up to that of intmax_t, in any of the five IEEE rounding modes
(the usual four for binary floating point, plus rounding to nearest
with ties rounding away from zero), with control of whether in-range
non-integer values should result in the "inexact" exception being
raised.  This patch implements these functions for glibc.

These implementations are (apart from raising exceptions) pure integer
implementations; it's entirely possible optimized versions could be
devised for some architectures.  A common math/fromfp.h header
provides various common helper code that can readily be shared between
the implementations for different types.  For each type, the bulk of
the implementation is also shared between the four functions, with
wrappers that define UNSIGNED and INEXACT macros appropriately before
including the main implementation.

As the functions return intmax_t and uintmax_t without math.h being
allowed to expose those typedef names, they are declared using
__intmax_t and __uintmax_t as obtained from <bits/types.h>.

The FP_INT_* rounding direction macros are defined as ascending
integers in the order the names are listed in the TS; I see no
significant value in allowing architectures to vary the values of
them.

The libm-test machinery is duly adapted to handle unsigned int
arguments, and intmax_t and uintmax_t results.  Because each test
input is generally tested for four functions, five rounding modes and
several different widths, the libm-test.inc additions are very large.
Thus, the diffs in the body of this message exclude the libm-test.inc
changes, with the full patch being attached gzipped.  The bulk of the
new tests were generated (expanded from a test input plus rounding
results and information about where it lies in the relevant interval
between integers, to libm-test tests for all relevant combinations of
function, rounding direction and width) by a script that's included in
the patch as math/gen-fromfp-tests.py (input data
math/gen-fromfp-tests-inputs); as an ad hoc script that's not really
expected to be rerun, it's not very polished, but it's at least
plausibly useful for adding any further tests for these functions in
future.  I may split the libm-test tests up by function in future (so
both libm-test.inc and auto-libm-test-out are split into separate
files, and the tests for each function are also built and run
separately), but not for 2.25.

For no obvious reason, adding tgmath tests for the new functions
resulted in -Wuninitialized errors from test-tgmath.c about the
variable i being used uninitialized.  Those errors were correct - the
variable is read by the frexp version in test-tgmath.c (where real
frexp would write through that pointer instead of reading it) - but I
don't know why this patch would result in the pre-existing issue being
newly detected.  The patch initializes the variable to avoid those
errors.

With these changes, glibc 2.25 should have all the library features
from TS 18661-1 other than the functions that round result to narrower
type (and constant rounding directions, but I'm considering those
mainly a compiler feature not a library one).

Tested for x86_64, x86, mips64 and powerpc.

	* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
	(fromfp): New declaration.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
	* math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
	* math/math.h: Include <bits/types.h>.
	[__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
	constant and macro.
	(FP_INT_DOWNWARD): Likewise.
	(FP_INT_TOWARDZERO): Likewise.
	(FP_INT_TONEARESTFROMZERO): Likewise.
	(FP_INT_TONEAREST): Likewise.
	* math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
	(fromfpf): Likewise.
	(fromfpl): Likewise.
	(ufromfp): Likewise.
	(ufromfpf): Likewise.
	(ufromfpl): Likewise.
	(fromfpx): Likewise.
	(fromfpxf): Likewise.
	(fromfpxl): Likewise.
	(ufromfpx): Likewise.
	(ufromfpxf): Likewise.
	(ufromfpxl): Likewise.
	* math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
	s_fromfpxF and s_ufromfpxF.
	* math/gen-fromfp-tests.py: New file.
	* math/gen-fromfp-tests-inputs: Likewise.
	* math/libm-test.inc: Include <stdint.h>
	(check_intmax_t): New function.
	(check_uintmax_t): Likewise.
	(struct test_fiu_M_data): New type.
	(struct test_fiu_U_data): Likewise.
	(RUN_TEST_fiu_M): New macro.
	(RUN_TEST_LOOP_fiu_M): Likewise.
	(RUN_TEST_fiu_U): Likewise.
	(RUN_TEST_LOOP_fiu_U): Likewise.
	(fromfp_test_data): New array.
	(fromfp_test): New function.
	(fromfpx_test_data): New array.
	(fromfpx_test): New function.
	(ufromfp_test_data): New array.
	(ufromfp_test): New function.
	(ufromfpx_test_data): New array.
	(ufromfpx_test): New function.
	(main): Call fromfp_test, fromfpx_test, ufromfp_test and
	ufromfpx_test.
	* math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
	characters.
	* math/test-tgmath-ret.c: Include <stdint.h>.
	(rm): New variable.
	(width): Likewise.
	(CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
	called function.
	(CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
	CHECK_RET_CONST_TYPE.
	(CHECK_RET_CONST_DOUBLE): Likewise.
	(CHECK_RET_CONST_LDOUBLE): Likewise.
	(CHECK_RET_CONST): Take extra arguments and pass them to calls
	macros.
	(fromfp): New CHECK_RET_CONST call.
	(ufromfp): Likewise.
	(fromfpx): Likewise.
	(ufromfpx): Likewise.
	(do_test): Call check_return_fromfp, check_return_ufromfp,
	check_return_fromfpx and check_return_ufromfpx.
	* math/test-tgmath.c: Include <stdint.h>
	(NCALLS): Increase to 138.
	(F(compile_test)): Initialize i.  Call fromfp functions.
	(F(fromfp)): New function.
	(F(fromfpx)): Likewise.
	(F(ufromfp)): Likewise.
	(F(ufromfpx)): Likewise.
	* manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
	FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
	FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
	ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
	ufromfpxl.
	* manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
	ufromfp and ufromfpx.
	* math/fromfp.h: New file.
	* sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
	* sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
	* sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
	* sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
	* sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
	* sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
	ufromfp, fromfpx and ufromfpx.
	(CFLAGS-nldbl-fromfp.c): New variable.
	(CFLAGS-nldbl-fromfpx.c): Likewise.
	(CFLAGS-nldbl-ufromfp.c): Likewise.
	(CFLAGS-nldbl-ufromfpx.c): Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
	* sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
	* sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
	* sysdeps/nacl/libm.abilist: Update.
	* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc37601
1 files changed, 37600 insertions, 1 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index e096e21057..02f326e588 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -40,7 +40,7 @@
    canonicalize, cbrt, ceil, copysign, cos, cosh, drem,
    erf, erfc, exp, exp10, exp2, expm1,
    fabs, fdim, finite, floor, fma, fmax, fmaxmag, fmin, fminmag,
-   fmod, fpclassify, frexp, gamma, getpayload, hypot,
+   fmod, fpclassify, frexp, fromfp, fromfpx, gamma, getpayload, hypot,
    ilogb, iscanonical, isfinite, isinf, isnan, isnormal, issignaling,
    issubnormal, iszero, iseqsig, isless, islessequal, isgreater,
    isgreaterequal, islessgreater, isunordered, j0, j1, jn,
@@ -51,6 +51,7 @@
    scalb, scalbn, scalbln, setpayload, setpayloadsig, signbit,
    sin, sincos, sinh, sqrt,
    tan, tanh, tgamma, totalorder, totalordermag, trunc,
+   ufromfp, ufromfpx,
    y0, y1, yn, significand
 
    and for the following complex math functions:
@@ -122,6 +123,7 @@
 
 #include <errno.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <string.h>
 #include <argp.h>
@@ -1097,6 +1099,72 @@ check_longlong (const char *test_name, long long int computed,
   errno = 0;
 }
 
+
+/* Check that computed and expected values are equal (intmax_t values).  */
+static void
+check_intmax_t (const char *test_name, intmax_t computed,
+		intmax_t expected, int exceptions)
+{
+  int ok = 0;
+  int errno_value = errno;
+
+  test_exceptions (test_name, exceptions);
+  test_errno (test_name, errno_value, exceptions);
+  if (exceptions & IGNORE_RESULT)
+    goto out;
+  noTests++;
+  if (computed == expected)
+    ok = 1;
+
+  if (print_screen (ok))
+    {
+      if (!ok)
+	printf ("Failure:");
+      printf ("Test: %s\n", test_name);
+      printf ("Result:\n");
+      printf (" is:         %jd\n", computed);
+      printf (" should be:  %jd\n", expected);
+    }
+
+  update_stats (ok);
+ out:
+  fpstack_test (test_name);
+  errno = 0;
+}
+
+
+/* Check that computed and expected values are equal (uintmax_t values).  */
+static void
+check_uintmax_t (const char *test_name, uintmax_t computed,
+		 uintmax_t expected, int exceptions)
+{
+  int ok = 0;
+  int errno_value = errno;
+
+  test_exceptions (test_name, exceptions);
+  test_errno (test_name, errno_value, exceptions);
+  if (exceptions & IGNORE_RESULT)
+    goto out;
+  noTests++;
+  if (computed == expected)
+    ok = 1;
+
+  if (print_screen (ok))
+    {
+      if (!ok)
+	printf ("Failure:");
+      printf ("Test: %s\n", test_name);
+      printf ("Result:\n");
+      printf (" is:         %ju\n", computed);
+      printf (" should be:  %ju\n", expected);
+    }
+
+  update_stats (ok);
+ out:
+  fpstack_test (test_name);
+  errno = 0;
+}
+
 /* Return whether a test with flags EXCEPTIONS should be run.  */
 static int
 enable_test (int exceptions)
@@ -1194,6 +1262,30 @@ struct test_fff_f_data
     int exceptions;
   } rd, rn, rz, ru;
 };
+struct test_fiu_M_data
+{
+  const char *arg_str;
+  FLOAT arg1;
+  int arg2;
+  unsigned int arg3;
+  struct
+  {
+    intmax_t expected;
+    int exceptions;
+  } rd, rn, rz, ru;
+};
+struct test_fiu_U_data
+{
+  const char *arg_str;
+  FLOAT arg1;
+  int arg2;
+  unsigned int arg3;
+  struct
+  {
+    uintmax_t expected;
+    int exceptions;
+  } rd, rn, rz, ru;
+};
 struct test_c_f_data
 {
   const char *arg_str;
@@ -1472,6 +1564,46 @@ struct test_Ff_b1_data
 		      (ARRAY)[i].RM_##ROUNDING_MODE.expected,		\
 		      (ARRAY)[i].RM_##ROUNDING_MODE.exceptions);	\
   ROUND_RESTORE_ ## ROUNDING_MODE
+#define RUN_TEST_fiu_M(ARG_STR, FUNC_NAME, ARG1, ARG2, ARG3,		\
+		       EXPECTED, EXCEPTIONS)				\
+  do									\
+    if (enable_test (EXCEPTIONS))					\
+      {									\
+	COMMON_TEST_SETUP (ARG_STR);					\
+	check_intmax_t (test_name,					\
+			FUNC_TEST (FUNC_NAME) (ARG1, ARG2, ARG3),	\
+			EXPECTED, EXCEPTIONS);				\
+	COMMON_TEST_CLEANUP;						\
+      }									\
+  while (0)
+#define RUN_TEST_LOOP_fiu_M(FUNC_NAME, ARRAY, ROUNDING_MODE)		\
+  IF_ROUND_INIT_ ## ROUNDING_MODE					\
+    for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++)	\
+      RUN_TEST_fiu_M ((ARRAY)[i].arg_str, FUNC_NAME, (ARRAY)[i].arg1,	\
+		      (ARRAY)[i].arg2, (ARRAY)[i].arg3,			\
+		      (ARRAY)[i].RM_##ROUNDING_MODE.expected,		\
+		      (ARRAY)[i].RM_##ROUNDING_MODE.exceptions);	\
+  ROUND_RESTORE_ ## ROUNDING_MODE
+#define RUN_TEST_fiu_U(ARG_STR, FUNC_NAME, ARG1, ARG2, ARG3,		\
+		       EXPECTED, EXCEPTIONS)				\
+  do									\
+    if (enable_test (EXCEPTIONS))					\
+      {									\
+	COMMON_TEST_SETUP (ARG_STR);					\
+	check_uintmax_t (test_name,					\
+			 FUNC_TEST (FUNC_NAME) (ARG1, ARG2, ARG3),	\
+			 EXPECTED, EXCEPTIONS);				\
+	COMMON_TEST_CLEANUP;						\
+      }									\
+  while (0)
+#define RUN_TEST_LOOP_fiu_U(FUNC_NAME, ARRAY, ROUNDING_MODE)		\
+  IF_ROUND_INIT_ ## ROUNDING_MODE					\
+    for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++)	\
+      RUN_TEST_fiu_U ((ARRAY)[i].arg_str, FUNC_NAME, (ARRAY)[i].arg1,	\
+		      (ARRAY)[i].arg2, (ARRAY)[i].arg3,			\
+		      (ARRAY)[i].RM_##ROUNDING_MODE.expected,		\
+		      (ARRAY)[i].RM_##ROUNDING_MODE.exceptions);	\
+  ROUND_RESTORE_ ## ROUNDING_MODE
 #define RUN_TEST_c_f(ARG_STR, FUNC_NAME, ARG1, ARG2, EXPECTED,		\
 		     EXCEPTIONS)					\
   do									\
@@ -8547,6 +8679,23838 @@ frexp_test (void)
 }
 
 
+static const struct test_fiu_M_data fromfp_test_data[] =
+  {
+    /* Infinity, NaN and values that are definitely out of range
+       (large values of width count as the width of the return
+       type).  */
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000001p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Zero (OK unless the width specified is zero).  */
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, plus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, minus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* Tests below here are generated with gen-fromfp-tests.py.  */
+
+    /* Integer inputs within range of uintmax_t.  */
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_UPWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TOWARDZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_UPWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_DOWNWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TOWARDZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5, FP_INT_TONEAREST, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_DOWNWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TOWARDZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 6, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_UPWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_DOWNWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TOWARDZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -6, FP_INT_TONEAREST, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_UPWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_DOWNWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TOWARDZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEARESTFROMZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 7, FP_INT_TONEAREST, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_UPWARD, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_DOWNWARD, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TOWARDZERO, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEARESTFROMZERO, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -7, FP_INT_TONEAREST, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_UPWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_DOWNWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TOWARDZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEARESTFROMZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 8, FP_INT_TONEAREST, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_UPWARD, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_DOWNWARD, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TOWARDZERO, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEARESTFROMZERO, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -8, FP_INT_TONEAREST, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_UPWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_DOWNWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TOWARDZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 9, FP_INT_TONEAREST, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_UPWARD, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_DOWNWARD, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TOWARDZERO, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEARESTFROMZERO, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -9, FP_INT_TONEAREST, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_UPWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_DOWNWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TOWARDZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEARESTFROMZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 15, FP_INT_TONEAREST, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_UPWARD, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_DOWNWARD, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TOWARDZERO, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEARESTFROMZERO, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -15, FP_INT_TONEAREST, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_UPWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_DOWNWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TOWARDZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEARESTFROMZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 16, FP_INT_TONEAREST, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_UPWARD, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_DOWNWARD, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TOWARDZERO, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEARESTFROMZERO, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -16, FP_INT_TONEAREST, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_UPWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_DOWNWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TOWARDZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEARESTFROMZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 17, FP_INT_TONEAREST, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_UPWARD, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_DOWNWARD, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TOWARDZERO, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEARESTFROMZERO, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -17, FP_INT_TONEAREST, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_UPWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff, FP_INT_TONEAREST, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_UPWARD, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_DOWNWARD, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff, FP_INT_TONEAREST, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_DOWNWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TOWARDZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400000, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_UPWARD, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_DOWNWARD, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TOWARDZERO, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400000, FP_INT_TONEAREST, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_UPWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_DOWNWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TOWARDZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x400001, FP_INT_TONEAREST, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_UPWARD, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_DOWNWARD, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TOWARDZERO, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x400001, FP_INT_TONEAREST, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_UPWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff, FP_INT_TONEAREST, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_UPWARD, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_DOWNWARD, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff, FP_INT_TONEAREST, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_UPWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_DOWNWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TOWARDZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800000, FP_INT_TONEAREST, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_UPWARD, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_DOWNWARD, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TOWARDZERO, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800000, FP_INT_TONEAREST, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_UPWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_DOWNWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TOWARDZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x800001, FP_INT_TONEAREST, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_UPWARD, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_DOWNWARD, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TOWARDZERO, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x800001, FP_INT_TONEAREST, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_UPWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_DOWNWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffff, FP_INT_TONEAREST, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_UPWARD, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_DOWNWARD, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TOWARDZERO, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffff, FP_INT_TONEAREST, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_UPWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_DOWNWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TOWARDZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000000, FP_INT_TONEAREST, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_UPWARD, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_DOWNWARD, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TOWARDZERO, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000000, FP_INT_TONEAREST, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_UPWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_DOWNWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TOWARDZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1000001, FP_INT_TONEAREST, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_UPWARD, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_DOWNWARD, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TOWARDZERO, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1000001, FP_INT_TONEAREST, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_UPWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_UPWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_UPWARD, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_DOWNWARD, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TOWARDZERO, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEAREST, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_UPWARD, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_UPWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_DOWNWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_DOWNWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEAREST, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -INT64_MAX-1, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_UPWARD, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEAREST, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Inputs with absolute value between 0 and 1.  */
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, min_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -min_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.25, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.25, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.499, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.499, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.5, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.5, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.501, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.501, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.75, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.75, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0.9, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0.9, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Various non-integer inputs.  */
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.25, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.25, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.5, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.5, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 1.75, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -1.75, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.25, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.25, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.5, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.5, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 2.75, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -2.75, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.25, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.25, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.5, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.5, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 3.75, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -3.75, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.25, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_UPWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_DOWNWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TOWARDZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.25, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.5, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_UPWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_DOWNWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TOWARDZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.5, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 4.75, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_UPWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_DOWNWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TOWARDZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -4.75, FP_INT_TONEAREST, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.25, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_UPWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_DOWNWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TOWARDZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.25, FP_INT_TONEAREST, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.5, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_UPWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_DOWNWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TOWARDZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.5, FP_INT_TONEAREST, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 5.75, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_UPWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_DOWNWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TOWARDZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -5.75, FP_INT_TONEAREST, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* 1, 1.5, 2, 2.5, 3, 3.5 +/- 1ulp.  */
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* 31, 32, 33 fractional bits.  */
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_UPWARD, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_UPWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 24, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 24, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 23, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 24, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, 64, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 23, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 24, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, 64, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_UPWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 23, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 23, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 22, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 23, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, 64, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 22, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 23, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, 64, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 23, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 23, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 24, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 23, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 22, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 20, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 21, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, 64, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_UPWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 22, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 22, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 21, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 22, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, 64, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 21, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 22, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, 64, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 22, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 22, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 23, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 22, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 35, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 35, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 35, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 34, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 35, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, 64, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 36, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 35, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 35, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 36, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 36, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 35, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 35, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 34, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 34, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 34, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 33, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 34, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, 64, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 34, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 34, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 35, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 34, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 33, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 32, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 33, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, 64, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 33, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 33, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 34, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 33, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Tests where overflow depends on the rounding mode.  */
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 72
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_UPWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.7fp0, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_UPWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEAREST, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.8p0, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_UPWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfp, -0x8000000000000000.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+  };
+
+static void
+fromfp_test (void)
+{
+  ALL_RM_TEST (fromfp, 1, fromfp_test_data, RUN_TEST_LOOP_fiu_M, END);
+}
+
+
+static const struct test_fiu_M_data fromfpx_test_data[] =
+  {
+    /* Infinity, NaN and values that are definitely out of range
+       (large values of width count as the width of the return
+       type).  */
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Zero (OK unless the width specified is zero).  */
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, plus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, minus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* Tests below here are generated with gen-fromfp-tests.py.  */
+
+    /* Integer inputs within range of uintmax_t.  */
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, 3, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1, FP_INT_UPWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_UPWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_UPWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_UPWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1, FP_INT_DOWNWARD, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_DOWNWARD, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_DOWNWARD, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_DOWNWARD, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TOWARDZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TOWARDZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TOWARDZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TOWARDZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEARESTFROMZERO, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEARESTFROMZERO, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEARESTFROMZERO, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEAREST, 1, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEAREST, 2, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEAREST, 64, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1, FP_INT_TONEAREST, UINT_MAX, -1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 4, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_UPWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_DOWNWARD, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TOWARDZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, 2, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, 3, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, 64, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2, FP_INT_TONEAREST, UINT_MAX, -2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 4, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_UPWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_DOWNWARD, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TOWARDZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 3, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 4, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, 64, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3, FP_INT_TONEAREST, UINT_MAX, -3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 5, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_UPWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_DOWNWARD, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TOWARDZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 3, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 4, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, 64, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4, FP_INT_TONEAREST, UINT_MAX, -4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 5, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_UPWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_DOWNWARD, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TOWARDZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 4, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 5, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, 64, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5, FP_INT_TONEAREST, UINT_MAX, -5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_DOWNWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TOWARDZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 5, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 6, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_UPWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_DOWNWARD, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TOWARDZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 4, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 5, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, 64, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -6, FP_INT_TONEAREST, UINT_MAX, -6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_UPWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_DOWNWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TOWARDZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEARESTFROMZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 5, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 7, FP_INT_TONEAREST, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_UPWARD, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_DOWNWARD, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TOWARDZERO, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEARESTFROMZERO, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 4, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 5, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, 64, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -7, FP_INT_TONEAREST, UINT_MAX, -7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_UPWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_DOWNWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TOWARDZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEARESTFROMZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 6, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 8, FP_INT_TONEAREST, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_UPWARD, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_DOWNWARD, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TOWARDZERO, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEARESTFROMZERO, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 4, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 5, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, 64, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -8, FP_INT_TONEAREST, UINT_MAX, -8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_UPWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_DOWNWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TOWARDZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 6, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 9, FP_INT_TONEAREST, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_UPWARD, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_DOWNWARD, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TOWARDZERO, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEARESTFROMZERO, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 5, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 6, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, 64, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -9, FP_INT_TONEAREST, UINT_MAX, -9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_UPWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_DOWNWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TOWARDZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEARESTFROMZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 6, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 15, FP_INT_TONEAREST, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_UPWARD, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_DOWNWARD, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TOWARDZERO, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEARESTFROMZERO, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 5, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 6, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, 64, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -15, FP_INT_TONEAREST, UINT_MAX, -15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_UPWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_DOWNWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TOWARDZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEARESTFROMZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 7, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 16, FP_INT_TONEAREST, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_UPWARD, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_DOWNWARD, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TOWARDZERO, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEARESTFROMZERO, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 5, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 6, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, 64, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -16, FP_INT_TONEAREST, UINT_MAX, -16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_UPWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_DOWNWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TOWARDZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEARESTFROMZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 7, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 17, FP_INT_TONEAREST, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_UPWARD, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_DOWNWARD, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TOWARDZERO, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEARESTFROMZERO, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 5, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 6, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 7, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, 64, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -17, FP_INT_TONEAREST, UINT_MAX, -17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_UPWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 24, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff, FP_INT_TONEAREST, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_UPWARD, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_DOWNWARD, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 23, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 24, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, 64, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff, FP_INT_TONEAREST, UINT_MAX, -0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_DOWNWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TOWARDZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 25, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400000, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_UPWARD, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_DOWNWARD, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TOWARDZERO, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 23, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 24, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, 64, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400000, FP_INT_TONEAREST, UINT_MAX, -0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_UPWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_DOWNWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TOWARDZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 25, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x400001, FP_INT_TONEAREST, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_UPWARD, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_DOWNWARD, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TOWARDZERO, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 24, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 25, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, 64, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x400001, FP_INT_TONEAREST, UINT_MAX, -0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_UPWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 25, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff, FP_INT_TONEAREST, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_UPWARD, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_DOWNWARD, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 24, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 25, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, 64, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff, FP_INT_TONEAREST, UINT_MAX, -0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_UPWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_DOWNWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TOWARDZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 26, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800000, FP_INT_TONEAREST, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_UPWARD, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_DOWNWARD, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TOWARDZERO, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 24, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 25, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, 64, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800000, FP_INT_TONEAREST, UINT_MAX, -0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_UPWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_DOWNWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TOWARDZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 26, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x800001, FP_INT_TONEAREST, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_UPWARD, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_DOWNWARD, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TOWARDZERO, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 25, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 26, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, 64, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x800001, FP_INT_TONEAREST, UINT_MAX, -0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_UPWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_DOWNWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 26, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffff, FP_INT_TONEAREST, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_UPWARD, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_DOWNWARD, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TOWARDZERO, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 25, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 26, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, 64, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffff, FP_INT_TONEAREST, UINT_MAX, -0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_UPWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_DOWNWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TOWARDZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 27, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000000, FP_INT_TONEAREST, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_UPWARD, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_DOWNWARD, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TOWARDZERO, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 25, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 26, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, 64, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000000, FP_INT_TONEAREST, UINT_MAX, -0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_UPWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_DOWNWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TOWARDZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 27, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1000001, FP_INT_TONEAREST, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_UPWARD, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_DOWNWARD, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TOWARDZERO, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 25, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 26, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 27, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, 64, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1000001, FP_INT_TONEAREST, UINT_MAX, -0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 53, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 52, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 53, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, 64, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 54, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 52, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 53, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, 64, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 54, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 53, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 54, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, 64, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 54, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 53, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 54, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, 64, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 55, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 53, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 54, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, 64, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 55, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 54, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 55, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, 64, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 55, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 54, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 55, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, 64, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 56, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 54, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 55, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, 64, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 56, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 54, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 55, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 56, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, 64, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, 63, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, 64, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_UPWARD, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_DOWNWARD, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TOWARDZERO, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEAREST, 64, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, -0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_UPWARD, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, -0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_UPWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_DOWNWARD, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_DOWNWARD, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEAREST, 64, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -INT64_MAX-1, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_UPWARD, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEAREST, 64, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, -0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, -0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Inputs with absolute value between 0 and 1.  */
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, min_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -min_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.25, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.25, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.499, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.499, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.5, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.5, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.501, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.501, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.75, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.75, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0.9, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0.9, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Various non-integer inputs.  */
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.25, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.25, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.5, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.5, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 1.75, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -1.75, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.25, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.25, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.5, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.5, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 2.75, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -2.75, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.25, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.25, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.5, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.5, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 3.75, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -3.75, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.25, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_UPWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_DOWNWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TOWARDZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.25, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.5, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_UPWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_DOWNWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TOWARDZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.5, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 4.75, FP_INT_TONEAREST, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_UPWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_DOWNWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TOWARDZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -4.75, FP_INT_TONEAREST, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.25, FP_INT_TONEAREST, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_UPWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_DOWNWARD, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TOWARDZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.25, FP_INT_TONEAREST, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.5, FP_INT_TONEAREST, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_UPWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_DOWNWARD, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TOWARDZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.5, FP_INT_TONEAREST, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 5, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 5, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 5.75, FP_INT_TONEAREST, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_UPWARD, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_DOWNWARD, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 4, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 5, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, 64, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TOWARDZERO, UINT_MAX, -5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 4, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 5, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, 64, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -5.75, FP_INT_TONEAREST, UINT_MAX, -6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* 1, 1.5, 2, 2.5, 3, 3.5 +/- 1ulp.  */
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 3, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, -1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 4, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 5, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 4, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, -3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, -4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* 31, 32, 33 fractional bits.  */
+#if MANT_DIG >= 53
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_UPWARD, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_UPWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 24, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 24, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 23, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 24, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, 64, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 23, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 24, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, 64, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 25, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 24, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 24, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 25, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 25, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 23, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 24, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, 64, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 24, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 24, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_UPWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 23, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 23, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 22, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 23, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, 64, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 22, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 23, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, 64, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 23, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 23, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 24, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 23, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 22, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 20, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 21, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, 64, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_UPWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 22, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 22, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 21, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 22, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, 64, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 21, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 22, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, 64, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 22, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 22, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 23, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 22, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 35, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 35, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 35, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, -0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 34, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 35, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, 64, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, -0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 36, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 35, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 35, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 36, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 36, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 35, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 35, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, -0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, -0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 34, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 34, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 34, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, -0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 33, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 34, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, 64, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, -0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 34, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 34, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 35, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 34, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, -0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, -0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 33, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 33, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 33, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 33, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, -0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 32, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 33, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, 64, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, -0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 33, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 33, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 34, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 33, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, -0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, -0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Tests where overflow depends on the rounding mode.  */
+#if MANT_DIG >= 64
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 72
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 65, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_UPWARD, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEAREST, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.7fp0, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_UPWARD, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEAREST, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.8p0, FP_INT_TONEAREST, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_UPWARD, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_UPWARD, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, 64, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TOWARDZERO, UINT_MAX, -INT64_MAX-1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_M (fromfpx, -0x8000000000000000.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+  };
+
+static void
+fromfpx_test (void)
+{
+  ALL_RM_TEST (fromfpx, 1, fromfpx_test_data, RUN_TEST_LOOP_fiu_M, END);
+}
+
+
 static const struct test_f_f_data getpayload_test_data[] =
   {
     TEST_fp_f (getpayload, plus_infty, IGNORE, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -14403,6 +38367,13637 @@ trunc_test (void)
   ALL_RM_TEST (trunc, 1, trunc_test_data, RUN_TEST_LOOP_f_f, END);
 }
 
+
+static const struct test_fiu_U_data ufromfp_test_data[] =
+  {
+    /* Infinity, NaN and values that are definitely out of range
+       (large values of width count as the width of the return
+       type).  */
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x8000000000000001p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Zero (OK unless the width specified is zero).  */
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, plus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, minus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* For unsigned results, -1 and below are always invalid.  */
+    TEST_fiu_U (ufromfp, -1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -1.1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -2.5, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -123.456, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1p32, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+
+    /* Tests below here are generated with gen-fromfp-tests.py.  */
+
+    /* Integer inputs within range of uintmax_t.  */
+    TEST_fiu_U (ufromfp, 1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_DOWNWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TOWARDZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 6, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_UPWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_DOWNWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TOWARDZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEARESTFROMZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 7, FP_INT_TONEAREST, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_UPWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_DOWNWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TOWARDZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEARESTFROMZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 8, FP_INT_TONEAREST, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_UPWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_DOWNWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TOWARDZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 9, FP_INT_TONEAREST, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_UPWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_DOWNWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TOWARDZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEARESTFROMZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 15, FP_INT_TONEAREST, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_UPWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_DOWNWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TOWARDZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEARESTFROMZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 16, FP_INT_TONEAREST, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_UPWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_DOWNWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TOWARDZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEARESTFROMZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 17, FP_INT_TONEAREST, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_UPWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff, FP_INT_TONEAREST, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_DOWNWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TOWARDZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400000, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_UPWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_DOWNWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TOWARDZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x400001, FP_INT_TONEAREST, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_UPWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff, FP_INT_TONEAREST, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_UPWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_DOWNWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TOWARDZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800000, FP_INT_TONEAREST, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_UPWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_DOWNWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TOWARDZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x800001, FP_INT_TONEAREST, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_UPWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_DOWNWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff, FP_INT_TONEAREST, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_UPWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_DOWNWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TOWARDZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000000, FP_INT_TONEAREST, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_UPWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_DOWNWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TOWARDZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1000001, FP_INT_TONEAREST, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_UPWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_UPWARD, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000001ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_UPWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffffULL, FP_INT_TONEAREST, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_UPWARD, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_UPWARD, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000010000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_UPWARD, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffff0000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_UPWARD, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x8000000000000800ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffffffffffff800ULL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Inputs with absolute value between 0 and 1.  */
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, min_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -min_value, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.25, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.25, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.499, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.499, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.5, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEAREST, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.5, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.501, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.501, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.75, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.75, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0.9, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0.9, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Various non-integer inputs.  */
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.25, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.5, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 1.75, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.25, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.5, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 2.75, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.25, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.5, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 3.75, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.25, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.5, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 4.75, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.25, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.5, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 5.75, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* 1, 1.5, 2, 2.5, 3, 3.5 +/- 1ulp.  */
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* 31, 32, 33 fractional bits.  */
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 22, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 23, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, 64, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 22, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 23, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, 64, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 21, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 22, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, 64, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 21, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 22, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, 64, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x200000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 20, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 21, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, 64, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 20, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 21, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, 64, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 20, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 21, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, 64, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xfffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 33, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 34, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, 64, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x1ffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 32, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 33, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, 64, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 31, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 32, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, 64, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Tests where overflow depends on the rounding mode.  */
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 72
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfp, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+  };
+
+static void
+ufromfp_test (void)
+{
+  ALL_RM_TEST (ufromfp, 1, ufromfp_test_data, RUN_TEST_LOOP_fiu_U, END);
+}
+
+
+static const struct test_fiu_U_data ufromfpx_test_data[] =
+  {
+    /* Infinity, NaN and values that are definitely out of range
+       (large values of width count as the width of the return
+       type).  */
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_infty, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -qnan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -snan_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -max_value, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p64, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (fromfpx, -0x1.000002p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p63, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x8000000000000001p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Zero (OK unless the width specified is zero).  */
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, plus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_UPWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_UPWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_UPWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_DOWNWARD, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_DOWNWARD, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_DOWNWARD, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TOWARDZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TOWARDZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TOWARDZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEAREST, 1, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEAREST, 64, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, minus_zero, FP_INT_TONEAREST, UINT_MAX, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* For unsigned results, -1 and below are always invalid.  */
+    TEST_fiu_U (ufromfpx, -1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -1.1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -2.5, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -123.456, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TOWARDZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TOWARDZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1p32, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+
+    /* Tests below here are generated with gen-fromfp-tests.py.  */
+
+    /* Integer inputs within range of uintmax_t.  */
+    TEST_fiu_U (ufromfpx, 1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_UPWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_UPWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_UPWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_UPWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_DOWNWARD, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_DOWNWARD, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_DOWNWARD, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_DOWNWARD, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TOWARDZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TOWARDZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TOWARDZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TOWARDZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEARESTFROMZERO, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEARESTFROMZERO, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEARESTFROMZERO, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEAREST, 1, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEAREST, 2, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEAREST, 64, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1, FP_INT_TONEAREST, UINT_MAX, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_UPWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_DOWNWARD, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TOWARDZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, 2, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, 3, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, 64, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2, FP_INT_TONEAREST, UINT_MAX, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_UPWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_DOWNWARD, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TOWARDZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, 2, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, 3, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, 64, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3, FP_INT_TONEAREST, UINT_MAX, 3, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_UPWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_DOWNWARD, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TOWARDZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 3, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 4, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, 64, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4, FP_INT_TONEAREST, UINT_MAX, 4, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_UPWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_DOWNWARD, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TOWARDZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 3, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 4, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, 64, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5, FP_INT_TONEAREST, UINT_MAX, 5, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_UPWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_DOWNWARD, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TOWARDZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 3, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 4, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, 64, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 6, FP_INT_TONEAREST, UINT_MAX, 6, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_UPWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_DOWNWARD, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TOWARDZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEARESTFROMZERO, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 3, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 4, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, 64, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 7, FP_INT_TONEAREST, UINT_MAX, 7, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_UPWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_DOWNWARD, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TOWARDZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEARESTFROMZERO, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 4, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 5, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, 64, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 8, FP_INT_TONEAREST, UINT_MAX, 8, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_UPWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_DOWNWARD, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TOWARDZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 4, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 5, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, 64, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 9, FP_INT_TONEAREST, UINT_MAX, 9, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_UPWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_DOWNWARD, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TOWARDZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEARESTFROMZERO, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 3, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 4, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 5, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, 64, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 15, FP_INT_TONEAREST, UINT_MAX, 15, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_UPWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_DOWNWARD, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TOWARDZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEARESTFROMZERO, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 5, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 6, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, 64, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 16, FP_INT_TONEAREST, UINT_MAX, 16, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_UPWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_DOWNWARD, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TOWARDZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEARESTFROMZERO, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 4, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 5, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 6, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, 64, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 17, FP_INT_TONEAREST, UINT_MAX, 17, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_UPWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 22, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 23, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, 64, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff, FP_INT_TONEAREST, UINT_MAX, 0x3fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_UPWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_DOWNWARD, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TOWARDZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 23, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 24, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, 64, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400000, FP_INT_TONEAREST, UINT_MAX, 0x400000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_UPWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_DOWNWARD, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TOWARDZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 23, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 24, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, 64, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x400001, FP_INT_TONEAREST, UINT_MAX, 0x400001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_UPWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 23, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 24, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, 64, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff, FP_INT_TONEAREST, UINT_MAX, 0x7fffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_UPWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_DOWNWARD, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TOWARDZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 24, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 25, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, 64, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800000, FP_INT_TONEAREST, UINT_MAX, 0x800000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_UPWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_DOWNWARD, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TOWARDZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 24, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 25, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, 64, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x800001, FP_INT_TONEAREST, UINT_MAX, 0x800001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_UPWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_DOWNWARD, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 23, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 24, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 25, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, 64, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff, FP_INT_TONEAREST, UINT_MAX, 0xffffff, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_UPWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_DOWNWARD, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TOWARDZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 25, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 26, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, 64, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000000, FP_INT_TONEAREST, UINT_MAX, 0x1000000, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_UPWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_DOWNWARD, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TOWARDZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 24, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 25, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 26, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, 64, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1000001, FP_INT_TONEAREST, UINT_MAX, 0x1000001, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 50, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 51, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 52, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, 64, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 52, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 53, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, 64, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 52, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 53, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, 64, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 51, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 52, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 53, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, 64, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 53, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 54, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, 64, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 53, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 54, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, 64, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x10000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x10000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 52, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 53, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 54, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, 64, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x1fffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 54, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 55, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, 64, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 53, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 54, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 55, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, 64, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x20000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x20000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 61, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 62, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x3fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 63, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, 64, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_UPWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_DOWNWARD, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TOWARDZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 63, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, 64, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4000000000000001LL, FP_INT_TONEAREST, UINT_MAX, 0x4000000000000001LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_UPWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 63, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffffLL, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, 64, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000001ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000001ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_UPWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, 64, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffffULL, FP_INT_TONEAREST, UINT_MAX, 0xffffffffffffffffULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_UPWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_DOWNWARD, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 63, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, 64, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffff8000000000LL, FP_INT_TONEAREST, UINT_MAX, 0x7fffff8000000000LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_UPWARD, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, 64, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000010000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000010000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_UPWARD, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_DOWNWARD, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TOWARDZERO, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, 64, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffff0000000000ULL, FP_INT_TONEAREST, UINT_MAX, 0xffffff0000000000ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_UPWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_DOWNWARD, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TOWARDZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 63, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, 64, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7ffffffffffffc00LL, FP_INT_TONEAREST, UINT_MAX, 0x7ffffffffffffc00LL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_UPWARD, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_DOWNWARD, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TOWARDZERO, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, 64, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x8000000000000800ULL, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_UPWARD, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_DOWNWARD, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TOWARDZERO, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, 64, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffffffffffff800ULL, FP_INT_TONEAREST, UINT_MAX, 0xfffffffffffff800ULL, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Inputs with absolute value between 0 and 1.  */
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_subnorm_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, min_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -min_value, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.25, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.25, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.499, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.499, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.5, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEAREST, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEAREST, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEAREST, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.5, FP_INT_TONEAREST, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000002p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000001p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.000000000000000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x1.0000000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.501, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.501, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.75, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.75, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0.9, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0.9, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.fffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 1, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 2, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, 64, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, -0x0.ffffffffffffffffffffffffffff8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+
+    /* Various non-integer inputs.  */
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.25, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.5, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 1.75, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.25, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.5, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 2.75, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.25, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.5, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 3.75, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.25, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.5, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_UPWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_DOWNWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TOWARDZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 4.75, FP_INT_TONEAREST, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEARESTFROMZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.25, FP_INT_TONEAREST, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.5, FP_INT_TONEAREST, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_UPWARD, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_DOWNWARD, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 3, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 4, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, 64, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TOWARDZERO, UINT_MAX, 5, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEARESTFROMZERO, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 3, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 4, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, 64, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 5.75, FP_INT_TONEAREST, UINT_MAX, 6, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+
+    /* 1, 1.5, 2, 2.5, 3, 3.5 +/- 1ulp.  */
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000002p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.000004p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.fffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.ffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000002p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffcp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000004p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffff8p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000008p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 106
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffcp1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.000000000000000000000000008p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.ffffffffffffffffffffffffffp0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.00000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.00000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 113
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p0, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep-1, FP_INT_TONEAREST, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_UPWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_DOWNWARD, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 1, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 2, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, 64, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TOWARDZERO, UINT_MAX, 1, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x0.ffffffffffffffffffffffffffff8p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1.0000000000000000000000000001p1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x4.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x5.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_UPWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_DOWNWARD, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 2, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 3, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, 64, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 2, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x2.fffffffffffffffffffffffffffep0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3.0000000000000000000000000002p0, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x6.fffffffffffffffffffffffffffcp-1, FP_INT_TONEAREST, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_UPWARD, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_DOWNWARD, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 2, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 3, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, 64, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TOWARDZERO, UINT_MAX, 3, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEARESTFROMZERO, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 2, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 3, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 4, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, 64, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7.0000000000000000000000000004p-1, FP_INT_TONEAREST, UINT_MAX, 4, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* 31, 32, 33 fractional bits.  */
+#if MANT_DIG >= 53
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 22, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 23, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, 64, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x200001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 22, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 23, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, 64, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x200001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x200002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 23, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 22, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 23, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 22, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 23, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x3fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 23, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 22, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 23, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 24, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, 64, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x3fffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x400000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 21, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 22, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, 64, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 21, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 22, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, 64, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x100002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 21, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 22, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 21, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 22, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x1fffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 21, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 22, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 23, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1fffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x200000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 20, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 21, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, 64, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 20, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 21, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, 64, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80001, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 20, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 21, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, 64, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x80002, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 20, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 21, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 19, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 20, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 21, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xfffff, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 20, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 21, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 22, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xfffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000000.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.7ffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_UPWARD, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_DOWNWARD, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 33, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 34, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, 64, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TOWARDZERO, UINT_MAX, 0x100000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 33, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 34, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, 64, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x100000001.80000002p0, FP_INT_TONEAREST, UINT_MAX, 0x100000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 34, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_UPWARD, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 33, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 34, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, 64, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_DOWNWARD, UINT_MAX, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 33, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 34, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, 64, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TOWARDZERO, UINT_MAX, 0x1ffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 34, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 33, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 34, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 35, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, 64, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x1ffffffff.fffffffep0, FP_INT_TONEAREST, UINT_MAX, 0x200000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000000.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.7fffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_UPWARD, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_DOWNWARD, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 32, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 33, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, 64, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TOWARDZERO, UINT_MAX, 0x80000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 32, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 33, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, 64, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x80000001.80000001p0, FP_INT_TONEAREST, UINT_MAX, 0x80000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_UPWARD, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 32, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 33, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, 64, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 32, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 33, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, 64, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 32, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 33, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 34, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, 64, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffff.ffffffffp0, FP_INT_TONEAREST, UINT_MAX, 0x100000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 31, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000000.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.7fffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.8p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_UPWARD, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_DOWNWARD, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 31, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 32, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, 64, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TOWARDZERO, UINT_MAX, 0x40000001LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 31, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 32, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, 64, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x40000001.800000008p0, FP_INT_TONEAREST, UINT_MAX, 0x40000002LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_UPWARD, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 31, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 32, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, 64, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 30, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 31, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 32, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 31, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 32, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 33, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, 64, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffff.ffffffff8p0, FP_INT_TONEAREST, UINT_MAX, 0x80000000LL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+
+    /* Tests where overflow depends on the rounding mode.  */
+#if MANT_DIG >= 64
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+#endif
+#if MANT_DIG >= 72
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 62, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0x7fffffffffffffffLL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, 64, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0x7fffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, 0x8000000000000000ULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEARESTFROMZERO, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.7fp0, FP_INT_TONEAREST, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.8p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_UPWARD, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_DOWNWARD, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 63, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, 64, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TOWARDZERO, UINT_MAX, 0xffffffffffffffffULL, INEXACT_EXCEPTION|ERRNO_UNCHANGED),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEARESTFROMZERO, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 0, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 1, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, 64, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+    TEST_fiu_U (ufromfpx, 0xffffffffffffffff.81p0, FP_INT_TONEAREST, UINT_MAX, IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
+#endif
+  };
+
+static void
+ufromfpx_test (void)
+{
+  ALL_RM_TEST (ufromfpx, 1, ufromfpx_test_data, RUN_TEST_LOOP_fiu_U, END);
+}
+
+
 static const struct test_f_f_data y0_test_data[] =
   {
     /* y0 is the Bessel function of the second kind of order 0 */
@@ -14873,6 +52468,10 @@ main (int argc, char **argv)
   lround_test ();
   llround_test ();
   trunc_test ();
+  fromfp_test ();
+  fromfpx_test ();
+  ufromfp_test ();
+  ufromfpx_test ();
 
   /* Remainder functions:  */
   drem_test ();