Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #164666

Re: C99: 7.18.1.1 Exact-width integer types

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c
Subject Re: C99: 7.18.1.1 Exact-width integer types
Date 2022-01-26 17:02 -0800
Organization None to speak of
Message-ID <87o83ykn24.fsf@nosuchdomain.example.com> (permalink)
References <86k0emc9ga.fsf@levado.to> <87sftaknqn.fsf@nosuchdomain.example.com>

Show all headers | View raw


Keith Thompson <Keith.S.Thompson+u@gmail.com> writes:
[...]
> The intN_t types are almost certainly, for a given implementation,
> defined as typedefs for one of the predefined signed integer types
> (signed char, short, int, long, long long).
[...]

I wrote "almost" because they could also be implemented in terms of
extended integer types.  I'm not aware of any implementation that even
has extended integer types.

But for example, an implementation with 8-bit char, 16-bit short, and
64-bit int and long might define int32_t as a typedef for an extended
32-bit type.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

C99: 7.18.1.1 Exact-width integer types Meredith Montgomery <mmontgomery@levado.to> - 2022-01-26 21:24 -0300
  Re: C99: 7.18.1.1 Exact-width integer types Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-01-26 16:48 -0800
    Re: C99: 7.18.1.1 Exact-width integer types Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-01-26 17:02 -0800
  Re: C99: 7.18.1.1 Exact-width integer types James Kuyper <jameskuyper@alumni.caltech.edu> - 2022-01-26 21:32 -0500
  Re: C99: 7.18.1.1 Exact-width integer types David Brown <david.brown@hesbynett.no> - 2022-01-27 09:14 +0100

csiph-web