mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 15:25:49 +00:00
a7cc3c035d
* 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.
27 lines
249 B
Plaintext
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
|