On this page
limits.h
Prev: stdbool.h | Up: stdlib | Next: ctype.h
Rel: stdint, stdbool & limits Guide, c/builtins
Ref: cppreference — <limits.h> / <float.h>
Tags: #public #prog #c #stdlib #limits #index
Include
#include <limits.h>
Overview
Implementation limits for integer and floating-point types.
Core (#tier/core)
- INT_MAX — Maximum (and
INT_MINminimum) representable values ofint.
Standard (#tier/standard)
- CHAR_BIT — Number of bits in a byte (
char),8on POSIX/Windows/macOS.
Specialized (#tier/specialized)
- DBL_EPSILON — Difference between
1.0and the next representabledouble(~2.22e-16).
Linked from
Related notes
- tuts/c/stdlib Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/ctype Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/stdlib/limits/CHAR_BIT Linked here; links to this page; shared tags: #c, #limits, #prog, #stdlib
- tuts/c/stdlib/limits/DBL_EPSILON Linked here; links to this page; shared tags: #c, #limits, #prog, #stdlib
- tuts/c/stdlib/limits/INT_MAX Linked here; links to this page; shared tags: #c, #limits, #prog, #stdlib
- tuts/c/stdlib/stdbool Linked here; links to this page; shared tags: #c, #index, #prog, #stdlib
- tuts/c/builtins Linked here; shared tags: #c, #index, #prog
- tuts/c/stdlib/stdbool/bool links to this page; shared tags: #c, #prog, #stdlib
- tuts/c/stdlib/stdint_stdbool_and_limits Linked here; shared tags: #c, #prog, #stdlib
- tuts/c/stdlib/assert shared tags: #c, #index, #prog, #stdlib