diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/intprops.h | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
Update/gnulib 2026 03 (#2247)
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/intprops.h')
| -rw-r--r-- | gl/intprops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gl/intprops.h b/gl/intprops.h index 2f9fa0a0..924b6f9a 100644 --- a/gl/intprops.h +++ b/gl/intprops.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* intprops.h -- properties of integer types | 1 | /* intprops.h -- properties of integer types |
| 2 | 2 | ||
| 3 | Copyright (C) 2001-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2001-2026 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This program is free software: you can redistribute it and/or modify it | 5 | This program is free software: you can redistribute it and/or modify it |
| 6 | under the terms of the GNU Lesser General Public License as published | 6 | under the terms of the GNU Lesser General Public License as published |
| @@ -205,11 +205,11 @@ | |||
| 205 | || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) | 205 | || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) |
| 206 | #endif | 206 | #endif |
| 207 | #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ | 207 | #define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ |
| 208 | ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ | 208 | ((min) < 0 ? (b) == _GL_INT_CONVERT (min, -1) && (a) < - (max) \ |
| 209 | : (a) < 0 ? (b) <= (a) + (b) - 1 \ | 209 | : (a) < 0 ? (b) <= (a) + (b) - 1 \ |
| 210 | : (b) < 0 && (a) + (b) <= (a)) | 210 | : (b) < 0 && (a) + (b) <= (a)) |
| 211 | #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ | 211 | #define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ |
| 212 | ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ | 212 | ((min) < 0 ? (b) == _GL_INT_CONVERT (min, -1) && (a) < - (max) \ |
| 213 | : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ | 213 | : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ |
| 214 | : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) | 214 | : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) |
| 215 | 215 | ||
