summaryrefslogtreecommitdiffstats
path: root/gl/float.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/float.c')
-rw-r--r--gl/float.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gl/float.c b/gl/float.c
index 780a0d1c..2e95957a 100644
--- a/gl/float.c
+++ b/gl/float.c
@@ -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__
25const union gl_long_double_union gl_LDBL_MAX =
26 { { DBL_MAX, DBL_MAX / 0x1p53 } };
27# elif defined __i386__
28const union gl_long_double_union gl_LDBL_MAX = 25const union gl_long_double_union gl_LDBL_MAX =
29 { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } }; 26 { { 0xFFFFFFFF, 0xFFFFFFFF, 32766 } };
30# endif 27# endif