1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
Paul Eggert a7cc3c035d u64: avoid theoretical problem with >64-bit int
* lib/u64.h: Include limits.h, for INT_MAX.  Use uint64_t only if
INT_MAX < UINT64_MAX, to avoid undefined behavior on theoretical
platforms where adding two uint64_t expressions can have undefined
behavior on signed integer overflow.
2025-08-31 07:55:08 -07:00

27 lines
249 B
Plaintext

Description:
Unsigned integers with arithmetic modulo 2**64
Files:
lib/u64.h
lib/u64.c
Depends-on:
byteswap
extern-inline
bool
stdint-h
configure.ac:
Makefile.am:
lib_SOURCES += u64.c
Include:
"u64.h"
License:
LGPLv2+
Maintainer:
Paul Eggert