summaryrefslogtreecommitdiff
path: root/tests/test-limits-h.c
Commit message (Collapse)AuthorAgeFilesLines
* limits-h tests: Add tests for BOOL_MAX and BOOL_WIDTH.Bruno Haible2021-08-011-0/+5
| | | | | * tests/test-limits-h.c (bool_attrs): New variable. Check value of BOOL_MAX.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* limits-h: Provide numerical limits macros.Bruno Haible2018-09-061-2/+69
| | | | | | | | | | | | | * lib/limits.in.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define also for IRIX and for GCC. (WORD_BIT, LONG_BIT): Define. * m4/limits-h.m4 (gl_LIMITS_H): Set LIMITS_H to non-empty also when <limits.h> does not define LLONG_MAX or WORD_BIT. * tests/test-limits-h.c (TYPE_SIGNED, TYPE_WIDTH, TYPE_MINIMUM, TYPE_MAXIMUM): New macros, from intprops.h. Add tests for CHAR_BIT, WORD_BIT, LONG_BIT, <type>_MIN, and <type>_MAX. * doc/posix-headers/limits.texi: Document what the 'limits-h' module provides.
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* all: prefer https: URLsPaul Eggert2017-09-131-1/+1
|
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* test-limits-h: suppress -Woverlength-stringsPádraig Brady2016-10-161-0/+4
| | | | * tests/test-limits-h.c [__GNUC__]: Ignore -Woverlength-strings.
* limits-h: new modulePaul Eggert2016-09-161-0/+46
This adds ISO/IEC TS 18661-1:2014 support to limits.h. * MODULES.html.sh: Add limits-h,and move size_max to stdint section. * doc/posix-headers/limits.texi: Document new module. * lib/limits.in.h, m4/limits-h.m4, modules/limits-h: * modules/limit-h-tests, tests/test-limits-h.c: New files.