From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sun, 6 May 2012 09:10:01 -0400 To: 9fans@9fans.net Message-ID: <9655ac7cb9ecbae44a0a0f3ed3b35361@kw.quanstro.net> In-Reply-To: References: <1411330.QJAbfBr5F9@blitz> <4FA5E8D2.7090102@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] integer width on AMD64 Topicbox-Message-UUID: 850ce990-ead7-11e9-9d60-3106f5b1d025 > Yes, the u{...}int names are important. Those "different names" are > normally for other (though obviously related) purposes (conceptually > int_exact_*), and the int_least_* and int_fast_* names, usually are bui= lt the int_least_* names appear to me to be completely wasted, given this is how the normal types are defined and that you couldn't depend on the extra bits. also, how do you debug code written like this? one complete test for each possible definition of int_least_*? of course, that leads to the question, is that set known? one also wonders about int_fast_* as well. fast /for what/ exactly? it seems that all this is in respose to the fact that the c-std version of u32int is not required. (the names are somewhat offensive to good taste, so i refer to them as one does carlin's list, by suggestion.) rather than fix that issue, layering on another set of types was the solution. really? http://www.open-std.org/jtc1/sc22/wg14/www/docs/n868.htm :=20 =E2=80=9C It can also be argued that programmers that use the 'intN_t' mo= re than likely really meant to use the 'int_leastN_t' types. Such programmers probably want a type with a guaranteed number of bits rather than an exact number of bits. It can be argued further that use of the 'intN_t' names is not portable because they may not exist in all implementations. (An implementation is not required to provide these types.) unfortunately, there are still programmers who use the definition more complicated =E2=89=A1 more better. evidently believing in the transitive nature of "more" over false premises. - erik