about summary refs log tree commit diff
path: root/math
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
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')
-rw-r--r--math/Makefile3
-rw-r--r--math/Versions2
-rw-r--r--math/bits/mathcalls.h22
-rw-r--r--math/fromfp.h174
-rw-r--r--math/gen-fromfp-tests-inputs426
-rwxr-xr-xmath/gen-fromfp-tests.py143
-rwxr-xr-xmath/gen-libm-test.pl10
-rw-r--r--math/libm-test.inc37601
-rw-r--r--math/math.h25
-rw-r--r--math/test-tgmath-ret.c43
-rw-r--r--math/test-tgmath.c46
-rw-r--r--math/tgmath.h20
12 files changed, 38489 insertions, 26 deletions
diff --git a/math/Makefile b/math/Makefile
index 7b2eb5a5cd..d0b2e0c649 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -75,7 +75,8 @@ libm-calls =								  \
 	s_issignalingF $(calls:s_%=m_%) x2y2m1F				  \
 	gamma_productF lgamma_negF lgamma_productF			  \
 	s_nextupF s_totalorderF s_totalordermagF s_getpayloadF		  \
-	s_setpayloadF s_setpayloadsigF s_roundevenF $(gen-libm-calls)
+	s_setpayloadF s_setpayloadsigF s_roundevenF s_fromfpF s_ufromfpF  \
+	s_fromfpxF s_ufromfpxF $(gen-libm-calls)
 
 libm-compat-calls-ldouble-yes = w_lgamma_compatl k_standardl
 libm-compat-calls = w_lgamma_compatf w_lgamma_compat k_standard k_standardf \
diff --git a/math/Versions b/math/Versions
index b6a4fa34d8..e409de0681 100644
--- a/math/Versions
+++ b/math/Versions
@@ -226,5 +226,7 @@ libm {
     llogb; llogbf; llogbl;
     fmaxmag; fmaxmagf; fmaxmagl; fminmag; fminmagf; fminmagl;
     roundeven; roundevenf; roundevenl;
+    fromfp; fromfpf; fromfpl; ufromfp; ufromfpf; ufromfpl;
+    fromfpx; fromfpxf; fromfpxl; ufromfpx; ufromfpxf; ufromfpxl;
   }
 }
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index 4fd8bab14e..3c6491bccc 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -388,6 +388,28 @@ __END_NAMESPACE_C99
 /* Round X to nearest integer value, rounding halfway cases to even.  */
 __MATHCALLX (roundeven,, (_Mdouble_ __x), (__const__));
 
+/* Round X to nearest signed integer value, not raising inexact, with
+   control of rounding direction and width of result.  */
+__MATHDECL (__intmax_t, fromfp,, (_Mdouble_ __x, int __round,
+				  unsigned int __width));
+
+/* Round X to nearest unsigned integer value, not raising inexact,
+   with control of rounding direction and width of result.  */
+__MATHDECL (__uintmax_t, ufromfp,, (_Mdouble_ __x, int __round,
+				    unsigned int __width));
+
+/* Round X to nearest signed integer value, raising inexact for
+   non-integers, with control of rounding direction and width of
+   result.  */
+__MATHDECL (__intmax_t, fromfpx,, (_Mdouble_ __x, int __round,
+				   unsigned int __width));
+
+/* Round X to nearest unsigned integer value, raising inexact for
+   non-integers, with control of rounding direction and width of
+   result.  */
+__MATHDECL (__uintmax_t, ufromfpx,, (_Mdouble_ __x, int __round,
+				     unsigned int __width));
+
 /* Return value with maximum magnitude.  */
 __MATHCALLX (fmaxmag,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
 
diff --git a/math/fromfp.h b/math/fromfp.h
new file mode 100644
index 0000000000..5d681238b1
--- /dev/null
+++ b/math/fromfp.h
@@ -0,0 +1,174 @@
+/* Round to integer type.  Common helper functions.
+   Copyright (C) 2016 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <errno.h>
+#include <fenv.h>
+#include <float.h>
+#include <math.h>
+#include <math_private.h>
+#include <stdbool.h>
+#include <stdint.h>
+
+/* The including file should have defined UNSIGNED to 0 (signed return
+   type) or 1 (unsigned return type), INEXACT to 0 (no inexact
+   exceptions) or 1 (raise inexact exceptions) and RET_TYPE to the
+   return type (intmax_t or uintmax_t).  */
+
+/* Return the maximum unbiased exponent for an argument (negative if
+   NEGATIVE is set) that might be in range for a call to a fromfp
+   function with width WIDTH (greater than 0, and not exceeding that
+   of intmax_t).  The truncated argument may still be out of range in
+   the case of negative arguments, and if not out of range it may
+   become out of range as a result of rounding.  */
+
+static int
+fromfp_max_exponent (bool negative, int width)
+{
+  if (UNSIGNED)
+    return negative ? -1 : width - 1;
+  else
+    return negative ? width - 1 : width - 2;
+}
+
+/* Return the result of rounding an integer value X (passed as the
+   absolute value; NEGATIVE is true if the value is negative), where
+   HALF_BIT is true if the bit with value 0.5 is set and MORE_BITS is
+   true if any lower bits are set, in the rounding direction
+   ROUND.  */
+
+static uintmax_t
+fromfp_round (bool negative, uintmax_t x, bool half_bit, bool more_bits,
+	      int round)
+{
+  switch (round)
+    {
+    case FP_INT_UPWARD:
+      return x + (!negative && (half_bit || more_bits));
+
+    case FP_INT_DOWNWARD:
+      return x + (negative && (half_bit || more_bits));
+
+    case FP_INT_TOWARDZERO:
+    default:
+      /* Unknown rounding directions are defined to mean unspecified
+	 rounding; treat this as truncation.  */
+      return x;
+
+    case FP_INT_TONEARESTFROMZERO:
+      return x + half_bit;
+
+    case FP_INT_TONEAREST:
+      return x + (half_bit && ((x & 1) || more_bits));
+    }
+}
+
+/* Integer rounding, of a value whose exponent EXPONENT did not exceed
+   the maximum exponent MAX_EXPONENT and so did not necessarily
+   overflow, has produced X (possibly wrapping to 0); the sign is
+   negative if NEGATIVE is true.  Return whether this overflowed the
+   allowed width.  */
+
+static bool
+fromfp_overflowed (bool negative, uintmax_t x, int exponent, int max_exponent)
+{
+  if (UNSIGNED)
+    {
+      if (negative)
+	return x != 0;
+      else if (max_exponent == INTMAX_WIDTH - 1)
+	return exponent == INTMAX_WIDTH - 1 && x == 0;
+      else
+	return x == (1ULL << (max_exponent + 1));
+    }
+  else
+    {
+      if (negative)
+	return exponent == max_exponent && x != (1ULL << max_exponent);
+      else
+	return x == (1ULL << (max_exponent + 1));
+    }
+}
+
+/* Handle a domain error for a call to a fromfp function with an
+   argument which is negative if NEGATIVE is set, and specified width
+   (not exceeding that of intmax_t) WIDTH.  The return value is
+   unspecified (with it being unclear if the result needs to fit
+   within WIDTH bits in this case); we choose to saturate to the given
+   number of bits (treating NaNs like any other value).  */
+
+static RET_TYPE
+fromfp_domain_error (bool negative, unsigned int width)
+{
+  feraiseexcept (FE_INVALID);
+  __set_errno (EDOM);
+  /* The return value is unspecified; we choose to saturate to the
+     given number of bits (treating NaNs like any other value).  */
+  if (UNSIGNED)
+    {
+      if (negative)
+	return 0;
+      else if (width == INTMAX_WIDTH)
+	return -1;
+      else
+	return (1ULL << width) - 1;
+    }
+  else
+    {
+      if (width == 0)
+	return 0;
+      else if (negative)
+	return -(1ULL << (width - 1));
+      else
+	return (1ULL << (width - 1)) - 1;
+    }
+}
+
+/* Given X, the absolute value of a floating-point number (negative if
+   NEGATIVE is set) truncated towards zero, where HALF_BIT is true if
+   the bit with value 0.5 is set and MORE_BITS is true if any lower
+   bits are set, round it in the rounding direction ROUND, handle
+   errors and exceptions and return the appropriate return value for a
+   fromfp function.  X originally had floating-point exponent
+   EXPONENT, which does not exceed MAX_EXPONENT, the return value from
+   fromfp_max_exponent with width WIDTH.  */
+
+static RET_TYPE
+fromfp_round_and_return (bool negative, uintmax_t x, bool half_bit,
+			 bool more_bits, int round, int exponent,
+			 int max_exponent, unsigned int width)
+{
+  uintmax_t uret = fromfp_round (negative, x, half_bit, more_bits, round);
+  if (fromfp_overflowed (negative, uret, exponent, max_exponent))
+    return fromfp_domain_error (negative, width);
+
+  if (INEXACT && (half_bit || more_bits))
+    {
+      /* There is no need for this to use the specific floating-point
+	 type for which this header is included, and there is no need
+	 for this header to know that type at all, so just use float
+	 here.  */
+      float force_inexact = 1.0f + FLT_MIN;
+      math_force_eval (force_inexact);
+    }
+  if (UNSIGNED)
+    /* A negative argument not rounding to zero will already have
+       produced a domain error.  */
+    return uret;
+  else
+    return negative ? -uret : uret;
+}
diff --git a/math/gen-fromfp-tests-inputs b/math/gen-fromfp-tests-inputs
new file mode 100644
index 0000000000..ea0f305876
--- /dev/null
+++ b/math/gen-fromfp-tests-inputs
@@ -0,0 +1,426 @@
+    /* Integer inputs within range of uintmax_t.  */
+i 1:1
+i -1:1
+i 2:2
+i -2:2
+i 3:2
+i -3:3
+i 4:3
+i -4:3
+i 5:3
+i -5:4
+i 6:3
+i -6:4
+i 7:3
+i -7:4
+i 8:4
+i -8:4
+i 9:4
+i -9:5
+i 15:4
+i -15:5
+i 16:5
+i -16:5
+i 17:5
+i -17:6
+i 0x3fffff:22
+i -0x3fffff:23
+i 0x400000:23
+i -0x400000:23
+i 0x400001:23
+i -0x400001:24
+i 0x7fffff:23
+i -0x7fffff:24
+i 0x800000:24
+i -0x800000:24
+i 0x800001:24
+i -0x800001:25
+i 0xffffff:24
+i -0xffffff:25
+i 0x1000000:25
+i -0x1000000:25
+#if MANT_DIG >= 53
+i 0x1000001:25
+i -0x1000001:26
+i 0x7ffffffffffffLL:51
+i -0x7ffffffffffffLL:52
+#endif
+i 0x8000000000000LL:52
+i -0x8000000000000LL:52
+#if MANT_DIG >= 53
+i 0x8000000000001LL:52
+i -0x8000000000001LL:53
+i 0xfffffffffffffLL:52
+i -0xfffffffffffffLL:53
+#endif
+i 0x10000000000000LL:53
+i -0x10000000000000LL:53
+#if MANT_DIG >= 53
+i 0x10000000000001LL:53
+i -0x10000000000001LL:54
+i 0x1fffffffffffffLL:53
+i -0x1fffffffffffffLL:54
+#endif
+i 0x20000000000000LL:54
+i -0x20000000000000LL:54
+#if MANT_DIG >= 64
+i 0x20000000000001LL:54
+i -0x20000000000001LL:55
+i 0x3fffffffffffffffLL:62
+i -0x3fffffffffffffffLL:63
+#endif
+i 0x4000000000000000LL:63
+i -0x4000000000000000LL:63
+#if MANT_DIG >= 64
+i 0x4000000000000001LL:63
+i -0x4000000000000001LL:64
+i 0x7fffffffffffffffLL:63
+i -0x7fffffffffffffffLL:64
+#endif
+i 0x8000000000000000ULL:64
+i -INT64_MAX-1:64
+#if MANT_DIG >= 64
+i 0x8000000000000001ULL:64
+i 0xffffffffffffffffULL:64
+#endif
+i 0x7fffff8000000000LL:63
+i -0x7fffff8000000000LL:64
+i 0x8000010000000000ULL:64
+i 0xffffff0000000000ULL:64
+#if MANT_DIG >= 53
+i 0x7ffffffffffffc00LL:63
+i -0x7ffffffffffffc00LL:64
+i 0x8000000000000800ULL:64
+i 0xfffffffffffff800ULL:64
+#endif
+
+    /* Inputs with absolute value between 0 and 1.  */
+t min_subnorm_value a 0:1 1:1
+t -min_subnorm_value a 0:1 -1:1
+t min_value a 0:1 1:1
+t -min_value a 0:1 -1:1
+t 0.1 a 0:1 1:1
+t -0.1 a 0:1 -1:1
+t 0.25 a 0:1 1:1
+t -0.25 a 0:1 -1:1
+t 0.499 a 0:1 1:1
+t -0.499 a 0:1 -1:1
+t 0x0.ffffffp-1 a 0:1 1:1
+t -0x0.ffffffp-1 a 0:1 -1:1
+#if MANT_DIG >= 53
+t 0x0.fffffffffffff8p-1 a 0:1 1:1
+t -0x0.fffffffffffff8p-1 a 0:1 -1:1
+#endif
+#if MANT_DIG >= 64
+t 0x0.ffffffffffffffffp-1 a 0:1 1:1
+t -0x0.ffffffffffffffffp-1 a 0:1 -1:1
+#endif
+#if MANT_DIG >= 106
+t 0x0.ffffffffffffffffffffffffffcp-1 a 0:1 1:1
+t -0x0.ffffffffffffffffffffffffffcp-1 a 0:1 -1:1
+#endif
+#if MANT_DIG >= 113
+t 0x0.ffffffffffffffffffffffffffff8p-1 a 0:1 1:1
+t -0x0.ffffffffffffffffffffffffffff8p-1 a 0:1 -1:1
+#endif
+t 0.5 be 0:1 1:1
+t -0.5 be 0:1 -1:1
+t 0x1.000002p-1 c 0:1 1:1
+t -0x1.000002p-1 c 0:1 -1:1
+#if MANT_DIG >= 53
+t 0x1.0000000000001p-1 c 0:1 1:1
+t -0x1.0000000000001p-1 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 64
+t 0x1.0000000000000002p-1 c 0:1 1:1
+t -0x1.0000000000000002p-1 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 106
+t 0x1.000000000000000000000000008p-1 c 0:1 1:1
+t -0x1.000000000000000000000000008p-1 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 113
+t 0x1.0000000000000000000000000001p-1 c 0:1 1:1
+t -0x1.0000000000000000000000000001p-1 c 0:1 -1:1
+#endif
+t 0.501 c 0:1 1:1
+t -0.501 c 0:1 -1:1
+t 0.75 c 0:1 1:1
+t -0.75 c 0:1 -1:1
+t 0.9 c 0:1 1:1
+t -0.9 c 0:1 -1:1
+t 0x0.ffffffp0 c 0:1 1:1
+t -0x0.ffffffp0 c 0:1 -1:1
+#if MANT_DIG >= 53
+t 0x0.fffffffffffff8p0 c 0:1 1:1
+t -0x0.fffffffffffff8p0 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 64
+t 0x0.ffffffffffffffffp0 c 0:1 1:1
+t -0x0.ffffffffffffffffp0 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 106
+t 0x0.ffffffffffffffffffffffffffcp0 c 0:1 1:1
+t -0x0.ffffffffffffffffffffffffffcp0 c 0:1 -1:1
+#endif
+#if MANT_DIG >= 113
+t 0x0.ffffffffffffffffffffffffffff8p0 c 0:1 1:1
+t -0x0.ffffffffffffffffffffffffffff8p0 c 0:1 -1:1
+#endif
+
+    /* Various non-integer inputs.  */
+t 1.25 a 1:1 2:2
+t -1.25 a -1:1 -2:2
+t 1.5 bo 1:1 2:2
+t -1.5 bo -1:1 -2:2
+t 1.75 c 1:1 2:2
+t -1.75 c -1:1 -2:2
+t 2.25 a 2:2 3:2
+t -2.25 a -2:2 -3:3
+t 2.5 be 2:2 3:2
+t -2.5 be -2:2 -3:3
+t 2.75 c 2:2 3:2
+t -2.75 c -2:2 -3:3
+t 3.25 a 3:2 4:3
+t -3.25 a -3:3 -4:3
+t 3.5 bo 3:2 4:3
+t -3.5 bo -3:3 -4:3
+t 3.75 c 3:2 4:3
+t -3.75 c -3:3 -4:3
+t 4.25 a 4:3 5:3
+t -4.25 a -4:3 -5:4
+t 4.5 be 4:3 5:3
+t -4.5 be -4:3 -5:4
+t 4.75 c 4:3 5:3
+t -4.75 c -4:3 -5:4
+t 5.25 a 5:3 6:3
+t -5.25 a -5:4 -6:4
+t 5.5 bo 5:3 6:3
+t -5.5 bo -5:4 -6:4
+t 5.75 c 5:3 6:3
+t -5.75 c -5:4 -6:4
+
+    /* 1, 1.5, 2, 2.5, 3, 3.5 +/- 1ulp.  */
+t 0x1.000002p0 a 1:1 2:2
+t -0x1.000002p0 a -1:1 -2:2
+t 0x2.fffffcp-1 a 1:1 2:2
+t -0x2.fffffcp-1 a -1:1 -2:2
+t 0x3.000004p-1 c 1:1 2:2
+t -0x3.000004p-1 c -1:1 -2:2
+t 0x0.ffffffp1 c 1:1 2:2
+t -0x0.ffffffp1 c -1:1 -2:2
+t 0x1.000002p1 a 2:2 3:2
+t -0x1.000002p1 a -2:2 -3:3
+t 0x4.fffff8p-1 a 2:2 3:2
+t -0x4.fffff8p-1 a -2:2 -3:3
+t 0x5.000008p-1 c 2:2 3:2
+t -0x5.000008p-1 c -2:2 -3:3
+t 0x2.fffffcp0 c 2:2 3:2
+t -0x2.fffffcp0 c -2:2 -3:3
+t 0x3.000004p0 a 3:2 4:3
+t -0x3.000004p0 a -3:3 -4:3
+t 0x6.fffff8p-1 a 3:2 4:3
+t -0x6.fffff8p-1 a -3:3 -4:3
+t 0x7.000008p-1 c 3:2 4:3
+t -0x7.000008p-1 c -3:3 -4:3
+#if MANT_DIG >= 53
+t 0x1.0000000000001p0 a 1:1 2:2
+t -0x1.0000000000001p0 a -1:1 -2:2
+t 0x2.ffffffffffffep-1 a 1:1 2:2
+t -0x2.ffffffffffffep-1 a -1:1 -2:2
+t 0x3.0000000000002p-1 c 1:1 2:2
+t -0x3.0000000000002p-1 c -1:1 -2:2
+t 0x0.fffffffffffff8p1 c 1:1 2:2
+t -0x0.fffffffffffff8p1 c -1:1 -2:2
+t 0x1.0000000000001p1 a 2:2 3:2
+t -0x1.0000000000001p1 a -2:2 -3:3
+t 0x4.ffffffffffffcp-1 a 2:2 3:2
+t -0x4.ffffffffffffcp-1 a -2:2 -3:3
+t 0x5.0000000000004p-1 c 2:2 3:2
+t -0x5.0000000000004p-1 c -2:2 -3:3
+t 0x2.ffffffffffffep0 c 2:2 3:2
+t -0x2.ffffffffffffep0 c -2:2 -3:3
+t 0x3.0000000000002p0 a 3:2 4:3
+t -0x3.0000000000002p0 a -3:3 -4:3
+t 0x6.ffffffffffffcp-1 a 3:2 4:3
+t -0x6.ffffffffffffcp-1 a -3:3 -4:3
+t 0x7.0000000000004p-1 c 3:2 4:3
+t -0x7.0000000000004p-1 c -3:3 -4:3
+#endif
+#if MANT_DIG >= 64
+t 0x1.0000000000000002p0 a 1:1 2:2
+t -0x1.0000000000000002p0 a -1:1 -2:2
+t 0x2.fffffffffffffffcp-1 a 1:1 2:2
+t -0x2.fffffffffffffffcp-1 a -1:1 -2:2
+t 0x3.0000000000000004p-1 c 1:1 2:2
+t -0x3.0000000000000004p-1 c -1:1 -2:2
+t 0x0.ffffffffffffffffp1 c 1:1 2:2
+t -0x0.ffffffffffffffffp1 c -1:1 -2:2
+t 0x1.0000000000000002p1 a 2:2 3:2
+t -0x1.0000000000000002p1 a -2:2 -3:3
+t 0x4.fffffffffffffff8p-1 a 2:2 3:2
+t -0x4.fffffffffffffff8p-1 a -2:2 -3:3
+t 0x5.0000000000000008p-1 c 2:2 3:2
+t -0x5.0000000000000008p-1 c -2:2 -3:3
+t 0x2.fffffffffffffffcp0 c 2:2 3:2
+t -0x2.fffffffffffffffcp0 c -2:2 -3:3
+t 0x3.0000000000000004p0 a 3:2 4:3
+t -0x3.0000000000000004p0 a -3:3 -4:3
+t 0x6.fffffffffffffff8p-1 a 3:2 4:3
+t -0x6.fffffffffffffff8p-1 a -3:3 -4:3
+t 0x7.0000000000000008p-1 c 3:2 4:3
+t -0x7.0000000000000008p-1 c -3:3 -4:3
+#endif
+#if MANT_DIG >= 106
+t 0x1.000000000000000000000000008p0 a 1:1 2:2
+t -0x1.000000000000000000000000008p0 a -1:1 -2:2
+t 0x2.ffffffffffffffffffffffffffp-1 a 1:1 2:2
+t -0x2.ffffffffffffffffffffffffffp-1 a -1:1 -2:2
+t 0x3.00000000000000000000000001p-1 c 1:1 2:2
+t -0x3.00000000000000000000000001p-1 c -1:1 -2:2
+t 0x0.ffffffffffffffffffffffffffcp1 c 1:1 2:2
+t -0x0.ffffffffffffffffffffffffffcp1 c -1:1 -2:2
+t 0x1.000000000000000000000000008p1 a 2:2 3:2
+t -0x1.000000000000000000000000008p1 a -2:2 -3:3
+t 0x4.fffffffffffffffffffffffffep-1 a 2:2 3:2
+t -0x4.fffffffffffffffffffffffffep-1 a -2:2 -3:3
+t 0x5.00000000000000000000000002p-1 c 2:2 3:2
+t -0x5.00000000000000000000000002p-1 c -2:2 -3:3
+t 0x2.ffffffffffffffffffffffffffp0 c 2:2 3:2
+t -0x2.ffffffffffffffffffffffffffp0 c -2:2 -3:3
+t 0x3.00000000000000000000000001p0 a 3:2 4:3
+t -0x3.00000000000000000000000001p0 a -3:3 -4:3
+t 0x6.fffffffffffffffffffffffffep-1 a 3:2 4:3
+t -0x6.fffffffffffffffffffffffffep-1 a -3:3 -4:3
+t 0x7.00000000000000000000000002p-1 c 3:2 4:3
+t -0x7.00000000000000000000000002p-1 c -3:3 -4:3
+#endif
+#if MANT_DIG >= 113
+t 0x1.0000000000000000000000000001p0 a 1:1 2:2
+t -0x1.0000000000000000000000000001p0 a -1:1 -2:2
+t 0x2.fffffffffffffffffffffffffffep-1 a 1:1 2:2
+t -0x2.fffffffffffffffffffffffffffep-1 a -1:1 -2:2
+t 0x3.0000000000000000000000000002p-1 c 1:1 2:2
+t -0x3.0000000000000000000000000002p-1 c -1:1 -2:2
+t 0x0.ffffffffffffffffffffffffffff8p1 c 1:1 2:2
+t -0x0.ffffffffffffffffffffffffffff8p1 c -1:1 -2:2
+t 0x1.0000000000000000000000000001p1 a 2:2 3:2
+t -0x1.0000000000000000000000000001p1 a -2:2 -3:3
+t 0x4.fffffffffffffffffffffffffffcp-1 a 2:2 3:2
+t -0x4.fffffffffffffffffffffffffffcp-1 a -2:2 -3:3
+t 0x5.0000000000000000000000000004p-1 c 2:2 3:2
+t -0x5.0000000000000000000000000004p-1 c -2:2 -3:3
+t 0x2.fffffffffffffffffffffffffffep0 c 2:2 3:2
+t -0x2.fffffffffffffffffffffffffffep0 c -2:2 -3:3
+t 0x3.0000000000000000000000000002p0 a 3:2 4:3
+t -0x3.0000000000000000000000000002p0 a -3:3 -4:3
+t 0x6.fffffffffffffffffffffffffffcp-1 a 3:2 4:3
+t -0x6.fffffffffffffffffffffffffffcp-1 a -3:3 -4:3
+t 0x7.0000000000000000000000000004p-1 c 3:2 4:3
+t -0x7.0000000000000000000000000004p-1 c -3:3 -4:3
+#endif
+
+    /* 31, 32, 33 fractional bits.  */
+#if MANT_DIG >= 53
+t 0x200000.7ffffffep0 a 0x200000:22 0x200001:22
+t -0x200000.7ffffffep0 a -0x200000:22 -0x200001:23
+t 0x200000.8p0 be 0x200000:22 0x200001:22
+t -0x200000.8p0 be -0x200000:22 -0x200001:23
+t 0x200000.80000002p0 c 0x200000:22 0x200001:22
+t -0x200000.80000002p0 c -0x200000:22 -0x200001:23
+t 0x200001.7ffffffep0 a 0x200001:22 0x200002:22
+t -0x200001.7ffffffep0 a -0x200001:23 -0x200002:23
+t 0x200001.8p0 bo 0x200001:22 0x200002:22
+t -0x200001.8p0 bo -0x200001:23 -0x200002:23
+t 0x200001.80000002p0 c 0x200001:22 0x200002:22
+t -0x200001.80000002p0 c -0x200001:23 -0x200002:23
+t 0x3fffff.fffffffep0 c 0x3fffff:22 0x400000:23
+t -0x3fffff.fffffffep0 c -0x3fffff:23 -0x400000:23
+t 0x100000.7fffffffp0 a 0x100000:21 0x100001:21
+t -0x100000.7fffffffp0 a -0x100000:21 -0x100001:22
+t 0x100000.8p0 be 0x100000:21 0x100001:21
+t -0x100000.8p0 be -0x100000:21 -0x100001:22
+t 0x100000.80000001p0 c 0x100000:21 0x100001:21
+t -0x100000.80000001p0 c -0x100000:21 -0x100001:22
+t 0x100001.7fffffffp0 a 0x100001:21 0x100002:21
+t -0x100001.7fffffffp0 a -0x100001:22 -0x100002:22
+t 0x100001.8p0 bo 0x100001:21 0x100002:21
+t -0x100001.8p0 bo -0x100001:22 -0x100002:22
+t 0x100001.80000001p0 c 0x100001:21 0x100002:21
+t -0x100001.80000001p0 c -0x100001:22 -0x100002:22
+t 0x1fffff.ffffffffp0 c 0x1fffff:21 0x200000:22
+t -0x1fffff.ffffffffp0 c -0x1fffff:22 -0x200000:22
+t 0x80000.7fffffff8p0 a 0x80000:20 0x80001:20
+t -0x80000.7fffffff8p0 a -0x80000:20 -0x80001:21
+t 0x80000.8p0 be 0x80000:20 0x80001:20
+t -0x80000.8p0 be -0x80000:20 -0x80001:21
+t 0x80000.800000008p0 c 0x80000:20 0x80001:20
+t -0x80000.800000008p0 c -0x80000:20 -0x80001:21
+t 0x80001.7fffffff8p0 a 0x80001:20 0x80002:20
+t -0x80001.7fffffff8p0 a -0x80001:21 -0x80002:21
+t 0x80001.8p0 bo 0x80001:20 0x80002:20
+t -0x80001.8p0 bo -0x80001:21 -0x80002:21
+t 0x80001.800000008p0 c 0x80001:20 0x80002:20
+t -0x80001.800000008p0 c -0x80001:21 -0x80002:21
+t 0xfffff.ffffffff8p0 c 0xfffff:20 0x100000:21
+t -0xfffff.ffffffff8p0 c -0xfffff:21 -0x100000:21
+#endif
+#if MANT_DIG >= 64
+t 0x100000000.7ffffffep0 a 0x100000000LL:33 0x100000001LL:33
+t -0x100000000.7ffffffep0 a -0x100000000LL:33 -0x100000001LL:34
+t 0x100000000.8p0 be 0x100000000LL:33 0x100000001LL:33
+t -0x100000000.8p0 be -0x100000000LL:33 -0x100000001LL:34
+t 0x100000000.80000002p0 c 0x100000000LL:33 0x100000001LL:33
+t -0x100000000.80000002p0 c -0x100000000LL:33 -0x100000001LL:34
+t 0x100000001.7ffffffep0 a 0x100000001LL:33 0x100000002LL:33
+t -0x100000001.7ffffffep0 a -0x100000001LL:34 -0x100000002LL:34
+t 0x100000001.8p0 bo 0x100000001LL:33 0x100000002LL:33
+t -0x100000001.8p0 bo -0x100000001LL:34 -0x100000002LL:34
+t 0x100000001.80000002p0 c 0x100000001LL:33 0x100000002LL:33
+t -0x100000001.80000002p0 c -0x100000001LL:34 -0x100000002LL:34
+t 0x1ffffffff.fffffffep0 c 0x1ffffffffLL:33 0x200000000LL:34
+t -0x1ffffffff.fffffffep0 c -0x1ffffffffLL:34 -0x200000000LL:34
+t 0x80000000.7fffffffp0 a 0x80000000LL:32 0x80000001LL:32
+t -0x80000000.7fffffffp0 a -0x80000000LL:32 -0x80000001LL:33
+t 0x80000000.8p0 be 0x80000000LL:32 0x80000001LL:32
+t -0x80000000.8p0 be -0x80000000LL:32 -0x80000001LL:33
+t 0x80000000.80000001p0 c 0x80000000LL:32 0x80000001LL:32
+t -0x80000000.80000001p0 c -0x80000000LL:32 -0x80000001LL:33
+t 0x80000001.7fffffffp0 a 0x80000001LL:32 0x80000002LL:32
+t -0x80000001.7fffffffp0 a -0x80000001LL:33 -0x80000002LL:33
+t 0x80000001.8p0 bo 0x80000001LL:32 0x80000002LL:32
+t -0x80000001.8p0 bo -0x80000001LL:33 -0x80000002LL:33
+t 0x80000001.80000001p0 c 0x80000001LL:32 0x80000002LL:32
+t -0x80000001.80000001p0 c -0x80000001LL:33 -0x80000002LL:33
+t 0xffffffff.ffffffffp0 c 0xffffffffLL:32 0x100000000LL:33
+t -0xffffffff.ffffffffp0 c -0xffffffffLL:33 -0x100000000LL:33
+t 0x40000000.7fffffff8p0 a 0x40000000LL:31 0x40000001LL:31
+t -0x40000000.7fffffff8p0 a -0x40000000LL:31 -0x40000001LL:32
+t 0x40000000.8p0 be 0x40000000LL:31 0x40000001LL:31
+t -0x40000000.8p0 be -0x40000000LL:31 -0x40000001LL:32
+t 0x40000000.800000008p0 c 0x40000000LL:31 0x40000001LL:31
+t -0x40000000.800000008p0 c -0x40000000LL:31 -0x40000001LL:32
+t 0x40000001.7fffffff8p0 a 0x40000001LL:31 0x40000002LL:31
+t -0x40000001.7fffffff8p0 a -0x40000001LL:32 -0x40000002LL:32
+t 0x40000001.8p0 bo 0x40000001LL:31 0x40000002LL:31
+t -0x40000001.8p0 bo -0x40000001LL:32 -0x40000002LL:32
+t 0x40000001.800000008p0 c 0x40000001LL:31 0x40000002LL:31
+t -0x40000001.800000008p0 c -0x40000001LL:32 -0x40000002LL:32
+t 0x7fffffff.ffffffff8p0 c 0x7fffffffLL:31 0x80000000LL:32
+t -0x7fffffff.ffffffff8p0 c -0x7fffffffLL:32 -0x80000000LL:32
+#endif
+
+    /* Tests where overflow depends on the rounding mode.  */
+#if MANT_DIG >= 64
+t 0x7fffffffffffffff.8p0 bo 0x7fffffffffffffffLL:63 0x8000000000000000ULL:64
+#endif
+#if MANT_DIG >= 72
+t 0x7fffffffffffffff.7fp0 a 0x7fffffffffffffffLL:63 0x8000000000000000ULL:64
+t 0x7fffffffffffffff.81p0 c 0x7fffffffffffffffLL:63 0x8000000000000000ULL:64
+t 0xffffffffffffffff.7fp0 a 0xffffffffffffffffULL:64 0x10000000000000000ULL:65
+t 0xffffffffffffffff.8p0 bo 0xffffffffffffffffULL:64 0x10000000000000000ULL:65
+t 0xffffffffffffffff.81p0 c 0xffffffffffffffffULL:64 0x10000000000000000ULL:65
+t -0x8000000000000000.7fp0 a -INT64_MAX-1:64 -0x8000000000000001LL:65
+t -0x8000000000000000.8p0 be -INT64_MAX-1:64 -0x8000000000000001LL:65
+t -0x8000000000000000.81p0 c -INT64_MAX-1:64 -0x8000000000000001LL:65
+#endif
diff --git a/math/gen-fromfp-tests.py b/math/gen-fromfp-tests.py
new file mode 100755
index 0000000000..603961c7c4
--- /dev/null
+++ b/math/gen-fromfp-tests.py
@@ -0,0 +1,143 @@
+#!/usr/bin/python3
+# Expand test inputs for fromfp functions into text to edit into libm-test.inc.
+# Copyright (C) 2016 Free Software Foundation, Inc.
+# This file is part of the GNU C Library.
+#
+# The GNU C Library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# The GNU C Library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
+
+# Take test inputs on stdin, in format:
+#
+# i <value>:width [int-value]
+#
+# for integer inputs, or
+#
+# t <value> <pos> <z> <a>
+#
+# for noninteger inputs, where <pos> is "a" for fractional part
+# between 0 and 0.5, "be" for 0.5 with even integer part, "bo" for 0.5
+# with odd integer part and "c" for between 0.5 and 1; <z> is the
+# value truncated towards zero, <a> is the value rounded away from
+# zero, both being in the form <value>:<width>.  Width values are for
+# the smallest type that can hold the value; for positive values, this
+# is an unsigned type.
+#
+# Command-line argument is function to generate tests for.  Any input
+# lines not of the above form are just passed through unchanged.
+#
+# Note that the output of this script forms the largest part of the
+# tests for the fromfp functions, but not the whole of those tests.
+
+import sys
+
+func = sys.argv[1]
+
+invalid_res = 'IGNORE, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM'
+exact_res = 'NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED'
+if func == 'fromfpx' or func == 'ufromfpx':
+    inexact_res = 'INEXACT_EXCEPTION|ERRNO_UNCHANGED'
+else:
+    inexact_res = exact_res
+unsigned = func.startswith('ufromfp')
+rm_list = ['FP_INT_UPWARD', 'FP_INT_DOWNWARD', 'FP_INT_TOWARDZERO',
+           'FP_INT_TONEARESTFROMZERO', 'FP_INT_TONEAREST']
+rm_away_pos = {'FP_INT_UPWARD': 'a',
+               'FP_INT_DOWNWARD': 'z',
+               'FP_INT_TOWARDZERO': 'z',
+               'FP_INT_TONEARESTFROMZERO': 'be',
+               'FP_INT_TONEAREST': 'bo'}
+rm_away_neg = {'FP_INT_UPWARD': 'z',
+               'FP_INT_DOWNWARD': 'a',
+               'FP_INT_TOWARDZERO': 'z',
+               'FP_INT_TONEARESTFROMZERO': 'be',
+               'FP_INT_TONEAREST': 'bo'}
+if unsigned:
+    test_macro = 'TEST_fiu_U'
+else:
+    test_macro = 'TEST_fiu_M'
+
+for line in sys.stdin:
+    if line.startswith('i'):
+        data = line.split()
+        val_width = data[1]
+        val, width = val_width.split(':')
+        negative = val.startswith('-')
+        if unsigned and negative:
+            continue
+        width = int(width)
+        if not unsigned and not negative:
+            width += 1
+        width_list = [0, 1]
+        if width > 2:
+            width_list.append(width - 1)
+        if width > 1 and width <= 64:
+            width_list.append(width)
+        if width < 64:
+            width_list.append(width + 1)
+        if width < 63:
+            width_list.append(64)
+        width_list = [(w, str(w)) for w in width_list]
+        width_list.append((64, 'UINT_MAX'))
+        for rm in rm_list:
+            for we in width_list:
+                w, ws = we
+                if w < width:
+                    print('    %s (%s, %s, %s, %s, %s),' %
+                          (test_macro, func, val, rm, ws, invalid_res))
+                else:
+                    print('    %s (%s, %s, %s, %s, %s, %s),' %
+                          (test_macro, func, val, rm, ws, val, exact_res))
+    elif line.startswith('t'):
+        data = line.split()
+        val = data[1]
+        pos = data[2]
+        z, z_width = data[3].split(':')
+        z_width = int(z_width)
+        a, a_width = data[4].split(':')
+        a_width = int(a_width)
+        if unsigned and z.startswith('-'):
+            continue
+        negative = val.startswith('-')
+        if negative:
+            rm_away = rm_away_neg
+        else:
+            rm_away = rm_away_pos
+        for rm in rm_list:
+            if pos >= rm_away[rm]:
+                res, width = a, a_width
+            else:
+                res, width = z, z_width
+            if not unsigned and not negative and res != '0':
+                width += 1
+            width_list = [0, 1]
+            if width > 2:
+                width_list.append(width - 1)
+            if width > 1 and width <= 64:
+                width_list.append(width)
+            if width < 64:
+                width_list.append(width + 1)
+            if width < 63:
+                width_list.append(64)
+            width_list = [(w, str(w)) for w in width_list]
+            width_list.append((64, 'UINT_MAX'))
+            for we in width_list:
+                w, ws = we
+                if w < width or (unsigned and res.startswith('-')):
+                    print('    %s (%s, %s, %s, %s, %s),' %
+                          (test_macro, func, val, rm, ws, invalid_res))
+                else:
+                    print('    %s (%s, %s, %s, %s, %s, %s),' %
+                          (test_macro, func, val, rm, ws, res, inexact_res))
+    else:
+        print(line.rstrip())
diff --git a/math/gen-libm-test.pl b/math/gen-libm-test.pl
index 25e69a8998..8836b952b2 100755
--- a/math/gen-libm-test.pl
+++ b/math/gen-libm-test.pl
@@ -223,8 +223,8 @@ sub parse_args {
     if ($current_arg > 1) {
       $comma = ', ';
     }
-    # FLOAT, int, long int, long long int
-    if ($descr[$i] =~ /f|j|i|l|L/) {
+    # FLOAT, long double, int, unsigned int, long int, long long int
+    if ($descr[$i] =~ /f|j|i|u|l|L/) {
       $call_args .= $comma . &beautify ($args[$current_arg]);
       ++$current_arg;
       next;
@@ -252,7 +252,7 @@ sub parse_args {
   $num_res = 0;
   @descr = split //,$descr_res;
   foreach (@descr) {
-    if ($_ =~ /f|i|l|L/) {
+    if ($_ =~ /f|i|l|L|M|U/) {
       ++$num_res;
     } elsif ($_ eq 'c') {
       $num_res += 2;
@@ -289,7 +289,7 @@ sub parse_args {
   @descr = split //,$descr_args;
   for ($i=0; $i <= $#descr; $i++) {
     # FLOAT, int, long int, long long int
-    if ($descr[$i] =~ /f|j|i|l|L/) {
+    if ($descr[$i] =~ /f|j|i|u|l|L/) {
       if ($descr[$i] eq "f") {
         $cline .= ", " . &apply_lit ($args[$current_arg]);
       } else {
@@ -327,7 +327,7 @@ sub parse_args {
     $cline_res = "";
     @special = ();
     foreach (@descr) {
-      if ($_ =~ /b|f|j|i|l|L/ ) {
+      if ($_ =~ /b|f|j|i|l|L|M|U/ ) {
 	my ($result) = $args_res[$current_arg];
 	if ($result eq "IGNORE") {
 	  $ignore_result_any = 1;
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 ();
diff --git a/math/math.h b/math/math.h
index 1dca14684d..55cb46fb12 100644
--- a/math/math.h
+++ b/math/math.h
@@ -28,6 +28,9 @@
 
 __BEGIN_DECLS
 
+/* Get definitions of __intmax_t and __uintmax_t.  */
+#include <bits/types.h>
+
 /* Get machine-dependent vector math functions declarations.  */
 #include <bits/math-vector.h>
 
@@ -152,6 +155,28 @@ typedef _Float128x double_t;
 
 #include <bits/fp-fast.h>
 
+#if __GLIBC_USE (IEC_60559_BFP_EXT)
+/* Rounding direction macros for fromfp functions.  */
+enum
+  {
+    FP_INT_UPWARD =
+# define FP_INT_UPWARD 0
+      FP_INT_UPWARD,
+    FP_INT_DOWNWARD =
+# define FP_INT_DOWNWARD 1
+      FP_INT_DOWNWARD,
+    FP_INT_TOWARDZERO =
+# define FP_INT_TOWARDZERO 2
+      FP_INT_TOWARDZERO,
+    FP_INT_TONEARESTFROMZERO =
+# define FP_INT_TONEARESTFROMZERO 3
+      FP_INT_TONEARESTFROMZERO,
+    FP_INT_TONEAREST =
+# define FP_INT_TONEAREST 4
+      FP_INT_TONEAREST,
+  };
+#endif
+
 /* The file <bits/mathcalls.h> contains the prototypes for all the
    actual math functions.  These macros are used for those prototypes,
    so we can easily declare each function as both `name' and `__name',
diff --git a/math/test-tgmath-ret.c b/math/test-tgmath-ret.c
index d7bcb5c1b2..8ab718074f 100644
--- a/math/test-tgmath-ret.c
+++ b/math/test-tgmath-ret.c
@@ -20,11 +20,14 @@
 #include <math.h>
 #include <complex.h>
 #include <tgmath.h>
+#include <stdint.h>
 #include <stdio.h>
 
 static float fx;
 static double dx;
 static long double lx;
+static int rm = FP_INT_UPWARD;
+static unsigned int width = 64;
 static int errors = 0;
 
 static void
@@ -36,28 +39,28 @@ our_error (const char *c)
 
 /* First function where the return type is constant.  */
 
-#define CHECK_RET_CONST_TYPE(func, rettype, arg, name) \
-  if (sizeof (func (arg)) != sizeof (rettype))				      \
+#define CHECK_RET_CONST_TYPE(func, rettype, arg, name, ...)		\
+  if (sizeof (func (arg, ## __VA_ARGS__)) != sizeof (rettype))		\
     our_error ("Return size of " #func " is wrong with " #name " argument");
 
-#define CHECK_RET_CONST_FLOAT(func, rettype) \
-  CHECK_RET_CONST_TYPE (func, rettype, fx, float)
-#define CHECK_RET_CONST_DOUBLE(func, rettype) \
-  CHECK_RET_CONST_TYPE (func, rettype, dx, double)
+#define CHECK_RET_CONST_FLOAT(func, rettype, ...)			\
+  CHECK_RET_CONST_TYPE (func, rettype, fx, float, ## __VA_ARGS__)
+#define CHECK_RET_CONST_DOUBLE(func, rettype, ...)			\
+  CHECK_RET_CONST_TYPE (func, rettype, dx, double, ## __VA_ARGS__)
 #ifdef NO_LONG_DOUBLE
-# define CHECK_RET_CONST_LDOUBLE(func, rettype)
+# define CHECK_RET_CONST_LDOUBLE(func, rettype, ...)
 #else
-# define CHECK_RET_CONST_LDOUBLE(func, rettype) \
-  CHECK_RET_CONST_TYPE (func, rettype, lx, long double)
+# define CHECK_RET_CONST_LDOUBLE(func, rettype, ...)			\
+  CHECK_RET_CONST_TYPE (func, rettype, lx, long double, ## __VA_ARGS__)
 #endif
 
-#define CHECK_RET_CONST(func, rettype) \
-static void								      \
-check_return_ ##func (void)						      \
-{									      \
-  CHECK_RET_CONST_FLOAT (func, rettype)					      \
-  CHECK_RET_CONST_DOUBLE (func, rettype)				      \
-  CHECK_RET_CONST_LDOUBLE (func, rettype)				      \
+#define CHECK_RET_CONST(func, rettype, ...)			\
+static void							\
+check_return_ ##func (void)					\
+{								\
+  CHECK_RET_CONST_FLOAT (func, rettype, ## __VA_ARGS__)		\
+  CHECK_RET_CONST_DOUBLE (func, rettype, ## __VA_ARGS__)	\
+  CHECK_RET_CONST_LDOUBLE (func, rettype, ## __VA_ARGS__)	\
 }
 
 CHECK_RET_CONST(ilogb, int)
@@ -66,6 +69,10 @@ CHECK_RET_CONST(lrint, long)
 CHECK_RET_CONST(lround, long)
 CHECK_RET_CONST(llrint, long long)
 CHECK_RET_CONST(llround, long long)
+CHECK_RET_CONST(fromfp, intmax_t, rm, width)
+CHECK_RET_CONST(ufromfp, uintmax_t, rm, width)
+CHECK_RET_CONST(fromfpx, intmax_t, rm, width)
+CHECK_RET_CONST(ufromfpx, uintmax_t, rm, width)
 
 static int
 do_test (void)
@@ -76,6 +83,10 @@ do_test (void)
   check_return_lround ();
   check_return_llrint ();
   check_return_llround ();
+  check_return_fromfp ();
+  check_return_ufromfp ();
+  check_return_fromfpx ();
+  check_return_ufromfpx ();
 
   printf ("%Zd\n", sizeof(carg (lx)));
 
diff --git a/math/test-tgmath.c b/math/test-tgmath.c
index 7a58d99985..de9073dcf2 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -22,6 +22,7 @@
 #undef __NO_MATH_INLINES
 #define __NO_MATH_INLINES 1
 #include <math.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <tgmath.h>
 
@@ -50,7 +51,7 @@ int count_cdouble;
 int count_cfloat;
 int count_cldouble;
 
-#define NCALLS     134
+#define NCALLS     138
 #define NCALLS_INT 4
 #define NCCALLS    47
 
@@ -226,10 +227,12 @@ F(compile_test) (void)
 {
   TYPE a, b, c = 1.0;
   complex TYPE d;
-  int i;
+  int i = 2;
   int saved_count;
   long int j;
   long long int k;
+  intmax_t m;
+  uintmax_t um;
 
   a = cos (cos (x));
   b = acos (acos (a));
@@ -269,6 +272,8 @@ F(compile_test) (void)
   b = remquo (remquo (a, b, &i), remquo (c, x, &i), &i);
   j = lrint (x) + lround (a);
   k = llrint (b) + llround (c);
+  m = fromfp (a, FP_INT_UPWARD, 2) + fromfpx (b, FP_INT_DOWNWARD, 3);
+  um = ufromfp (c, FP_INT_TONEAREST, 4) + ufromfpx (a, FP_INT_TOWARDZERO, 5);
   a = erf (erf (x));
   b = erfc (erfc (a));
   a = tgamma (tgamma (x));
@@ -298,7 +303,7 @@ F(compile_test) (void)
   c = fma (i, b, i);
   a = pow (i, c);
 #endif
-  x = a + b + c + i + j + k;
+  x = a + b + c + i + j + k + m + um;
 
   saved_count = count;
   if (ccount != 0)
@@ -373,6 +378,9 @@ F(compile_test) (void)
       a = remquo (y, y, &i);
       j = lrint (y) + lround (y);
       k = llrint (y) + llround (y);
+      m = fromfp (y, FP_INT_UPWARD, 6) + fromfpx (y, FP_INT_DOWNWARD, 7);
+      um = (ufromfp (y, FP_INT_TONEAREST, 8)
+	    + ufromfpx (y, FP_INT_TOWARDZERO, 9));
       a = erf (y);
       a = erfc (y);
       a = tgamma (y);
@@ -750,6 +758,38 @@ long long int
   return x;
 }
 
+intmax_t
+(F(fromfp)) (TYPE x, int round, unsigned int width)
+{
+  ++count;
+  P ();
+  return x;
+}
+
+intmax_t
+(F(fromfpx)) (TYPE x, int round, unsigned int width)
+{
+  ++count;
+  P ();
+  return x;
+}
+
+uintmax_t
+(F(ufromfp)) (TYPE x, int round, unsigned int width)
+{
+  ++count;
+  P ();
+  return x;
+}
+
+uintmax_t
+(F(ufromfpx)) (TYPE x, int round, unsigned int width)
+{
+  ++count;
+  P ();
+  return x;
+}
+
 TYPE
 (F(erf)) (TYPE x)
 {
diff --git a/math/tgmath.h b/math/tgmath.h
index 433a348393..d296027cd5 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -155,6 +155,14 @@
 				   + (__tgmath_real_type (Val3)) 0))	      \
 		       Fct##f (Val1, Val2, Val3)))
 
+# define __TGMATH_TERNARY_FIRST_REAL_RET_ONLY(Val1, Val2, Val3, RetType, Fct) \
+     (__extension__ ((sizeof (Val1) == sizeof (double)			\
+		      || __builtin_classify_type (Val1) != 8)		\
+		     ? (RetType) Fct (Val1, Val2, Val3)			\
+		     : (sizeof (Val1) == sizeof (float))		\
+		     ? (RetType) Fct##f (Val1, Val2, Val3)		\
+		     : (RetType) __tgml(Fct) (Val1, Val2, Val3)))
+
 /* XXX This definition has to be changed as soon as the compiler understands
    the imaginary keyword.  */
 # define __TGMATH_UNARY_REAL_IMAG(Val, Fct, Cfct) \
@@ -441,6 +449,18 @@
 /* Round X to nearest integer value, rounding halfway cases to even.  */
 # define roundeven(Val) __TGMATH_UNARY_REAL_ONLY (Val, roundeven)
 
+# define fromfp(Val1, Val2, Val3)					\
+  __TGMATH_TERNARY_FIRST_REAL_RET_ONLY (Val1, Val2, Val3, __intmax_t, fromfp)
+
+# define ufromfp(Val1, Val2, Val3)					\
+  __TGMATH_TERNARY_FIRST_REAL_RET_ONLY (Val1, Val2, Val3, __uintmax_t, ufromfp)
+
+# define fromfpx(Val1, Val2, Val3)					\
+  __TGMATH_TERNARY_FIRST_REAL_RET_ONLY (Val1, Val2, Val3, __intmax_t, fromfpx)
+
+# define ufromfpx(Val1, Val2, Val3)					\
+  __TGMATH_TERNARY_FIRST_REAL_RET_ONLY (Val1, Val2, Val3, __uintmax_t, ufromfpx)
+
 /* Like ilogb, but returning long int.  */
 # define llogb(Val) __TGMATH_UNARY_REAL_RET_ONLY (Val, long int, llogb)