From 5672b62e272d30feb1f8d03107b3e84b73092614 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Tue, 26 Nov 2019 13:53:57 +0000 Subject: [PATCH] fixed the definition of moo_fltmax_t --- moo/lib/moo-cmn.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moo/lib/moo-cmn.h b/moo/lib/moo-cmn.h index 45d9aa1..4ae5d07 100644 --- a/moo/lib/moo-cmn.h +++ b/moo/lib/moo-cmn.h @@ -361,15 +361,15 @@ * The moo_fltmax_t type defines the largest floating-pointer number type * ever supported. */ -#if MOO_SIZEOF___FLOAT128 >= MOO_SIZEOF_FLT_T +#if MOO_SIZEOF___FLOAT128 >= MOO_SIZEOF_FLTBAS_T /* the size of long double may be equal to the size of __float128 * for alignment on some platforms */ typedef __float128 moo_fltmax_t; # define MOO_SIZEOF_FLTMAX_T MOO_SIZEOF___FLOAT128 # define MOO_FLTMAX_REQUIRE_QUADMATH 1 #else - typedef moo_flt_t moo_fltmax_t; -# define MOO_SIZEOF_FLTMAX_T MOO_SIZEOF_FLT_T + typedef moo_fltbas_t moo_fltmax_t; +# define MOO_SIZEOF_FLTMAX_T MOO_SIZEOF_FLTBAS_T # undef MOO_FLTMAX_REQUIRE_QUADMATH #endif