missing methods in inttypes.h

Eric Blake eblake@redhat.com
Fri Aug 2 16:58:00 GMT 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20130802/163f2dd1/attachment.sig>


More information about the Newlib mailing list