This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing methods in inttypes.h


On 08/02/2013 08:27 AM, Craig Howland wrote:
> 
> On 08/02/2013 03:51 AM, Corinna Vinschen wrote:
>> That, and the alias implementation would fix all your concerns, as
>> long as the types (long long vs. intmax_t) have the same size. Do we
>> have targets without long long? Do we have targets with intmax_t >
>> long long? I hope not... Corinna 
> We do not have any targets with intmax_t > long long, as the standards
> require intmax_t >= long long.

That's a non sequitur.  It is feasible (although currently unlikely) to
have a platform with 64-bit 'long long' but 128-bit 'int128_t'; on such
a platform, intmax_t would have to be int128_t.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]