summaryrefslogtreecommitdiffstats
path: root/gl/float.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
commit1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch)
treed69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /gl/float.c
parent99283972fe3a74d3a1dea12c4099f76286130a67 (diff)
parenta71ce153082565e5728424749475593dc0623492 (diff)
downloadmonitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz
merged with mastercheck_snmp_fixes
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