C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Extended precision integers

From: Bo Persson <bo_at_[hidden]>
Date: Wed, 26 Nov 2025 08:24:25 +0100
On 2025-11-26 at 01:54, JJ Marr via Std-Proposals wrote:
> > Which code (which is not generic, e.g. templated, anyway) would use
> it, but not use conditionals or typedefs or other means to care for the
> width?
>
> There's actually no int128_t typedef in the standard, even though gcc/
> clang have had 128-bit ints as an extension for a while.
>
>
It is already *allowed* by the standard, but not required.

Until recently (C23) any additional integer types affected intmax_t, so
was avoided by everyone. That's why it is "an extension", and not "an
extended integer". Sigh!

Received on 2025-11-26 07:24:30