mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2026-10-24 00:48:56 +03:00
* 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
|