diff options
Diffstat (limited to 'gl/float.c')
| -rw-r--r-- | gl/float.c | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Auxiliary definitions for <float.h>. | 1 | /* Auxiliary definitions for <float.h>. |
| 2 | Copyright (C) 2011-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2026 Free Software Foundation, Inc. |
| 3 | Written by Bruno Haible <bruno@clisp.org>, 2011. | 3 | Written by Bruno Haible <bruno@clisp.org>, 2011. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -21,10 +21,7 @@ | |||
| 21 | #include <float.h> | 21 | #include <float.h> |
| 22 | 22 | ||
| 23 | #if GNULIB_defined_long_double_union | 23 | #if GNULIB_defined_long_double_union |
| 24 | # if (defined _ARCH_PPC || defined _POWER) && (defined _AIX || defined __linux__) && (LDBL_MANT_DIG == 106) && defined __GNUC__ | 24 | # ifdef __i386__ |
| 25 | const union gl_long_double_union gl_LDBL_MAX = | ||
| 26 | { { DBL_MAX, DBL_MAX / 0x1p53 } }; | ||
| 27 | # elif defined __i386__ | ||
| 28 | const union gl_long_double_union gl_LDBL_MAX = | 25 | const union gl_long_double_union gl_LDBL_MAX = |
| 29 | { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; | 26 | { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; |
| 30 | # endif | 27 | # endif |
