diff options
Diffstat (limited to 'lib/ftoastr.h')
-rw-r--r-- | lib/ftoastr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftoastr.h b/lib/ftoastr.h index 9207809e9fb..94816d1a56b 100644 --- a/lib/ftoastr.h +++ b/lib/ftoastr.h @@ -88,7 +88,7 @@ enum # elif FLT_RADIX <= 16 /* IBM hex floating point has FLT_RADIX == 16. */ # define _GL_FLOAT_DIG_BITS_BOUND 4 # else /* no machine is this bad, but let's be complete */ -# define _GL_FLOAT_DIG_BITS_BOUND (CHAR_BIT * (int) sizeof (int) - 1) +# define _GL_FLOAT_DIG_BITS_BOUND ((int) TYPE_WIDTH (int) - 1) # endif /* An upper bound on the number of decimal digits needed to represent |