[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Dropped support for C89?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 5 Jan 2015 09:32:52 -0200
> long long is guaranteed to exist by C99. uint64_t is not -- if a
> platform doesn't offer a type that's EXACTLY 64 bits, uint64_t must be
> left undefined. (There's uint64_least_t for the smallest type >= 64
> bits, and uint64_fast_t for the compiler's opinion of the fastest type
> that's at least 64 bits. These will be defined if a machine has e.g.
> 72-bit registers.)
Moreover, long long is supported by several compilers that are not
C99 (even Microsoft supports it), and it is better integrated with the
language in general (e.g., length modifiers in formats).
-- Roberto