Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions source/support.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@
using int_least@\placeholdernc{N}@_t = @\seebelow@; // optional

using intmax_t = @\textit{signed integer type}@;
using intptr_t = @\textit{signed integer type}@; // optional
using intptr_t = @\textit{signed integer type}@;

using uint8_t = @\textit{unsigned integer type}@; // optional
using uint16_t = @\textit{unsigned integer type}@; // optional
Expand All @@ -1978,7 +1978,7 @@
using uint_least@\placeholdernc{N}@_t = @\seebelow@; // optional

using uintmax_t = @\textit{unsigned integer type}@;
using uintptr_t = @\textit{unsigned integer type}@; // optional
using uintptr_t = @\textit{unsigned integer type}@;
}

#define INT@\placeholdernc{N}@_MIN @\seebelow@
Expand All @@ -2005,11 +2005,11 @@
#define INTMAX_WIDTH @\seebelow@
#define UINTMAX_WIDTH @\seebelow@

#define INTPTR_MIN @\seebelow@ // optional
#define INTPTR_MAX @\seebelow@ // optional
#define UINTPTR_MAX @\seebelow@ // optional
#define INTPTR_WIDTH @\seebelow@ // optional
#define UINTPTR_WIDTH @\seebelow@ // optional
#define INTPTR_MIN @\seebelow@
#define INTPTR_MAX @\seebelow@
#define UINTPTR_MAX @\seebelow@
#define INTPTR_WIDTH @\seebelow@
#define UINTPTR_WIDTH @\seebelow@

#define PTRDIFF_MIN @\seebelow@
#define PTRDIFF_MAX @\seebelow@
Expand Down Expand Up @@ -2037,7 +2037,10 @@

\pnum
The header defines all types and macros the same as
the C standard library header \libheader{stdint.h}.
the C standard library header \libheader{stdint.h},
except that the types \tcode{intptr_t} and \tcode{uintptr_t} and
the macros \tcode{INTPTR_MIN}, \tcode{INTPTR_MAX}, and \tcode{UINTPTR_MAX}
are always defined.
The types denoted by \tcode{intmax_t} and \tcode{uintmax_t}
are not required to be able to represent all values of extended integer types
wider than \tcode{long long} and \tcode{unsigned long long}, respectively.
Expand Down
4 changes: 1 addition & 3 deletions source/text.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6656,12 +6656,10 @@
\topline
\lhdr{Type} & \rhdr{Meaning} \\ \rowsep
none, \tcode{p} &
If \tcode{uintptr_t} is declared,
\begin{codeblock}
to_chars(first, last, reinterpret_cast<uintptr_t>(value), 16)
\end{codeblock}
with the prefix \tcode{0x} inserted immediately before the output of \tcode{to_chars};
otherwise, implementation-defined.
with the prefix \tcode{0x} inserted immediately before the output of \tcode{to_chars}.
\\ \rowsep
\tcode{P} &
The same as \tcode{p},
Expand Down
6 changes: 2 additions & 4 deletions source/threads.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2808,11 +2808,9 @@
\indexlibraryglobal{atomic_intmax_t}%
\indexlibraryglobal{atomic_uintmax_t}%
\pnum
The type aliases \tcode{atomic_int$N$_t}, \tcode{atomic_uint$N$_t},
\tcode{atomic_intptr_t}, and \tcode{atomic_uintptr_t}
The type aliases \tcode{atomic_int$N$_t} and \tcode{atomic_uint$N$_t}
are declared if and only if
\tcode{int$N$_t}, \tcode{uint$N$_t},
\tcode{intptr_t}, and \tcode{uintptr_t}
\tcode{int$N$_t} and \tcode{uint$N$_t}
are declared, respectively.

\pnum
Expand Down
Loading