[PATCH v3] manual: Refactor documentation of CHAR_BIT.
Florian Weimer
fweimer@redhat.com
Thu Jul 27 12:22:00 GMT 2017
On 07/27/2017 01:28 PM, Rical Jasan wrote:
> On 06/22/2017 06:23 AM, Florian Weimer wrote:
>> On 06/20/2017 03:44 PM, Rical Jasan wrote:
>>> @@ -628,11 +628,10 @@ There is no operator in the C language that can give you the number of
>>> bits in an integer data type. But you can compute it from the macro
>>> @code{CHAR_BIT}, defined in the header file @file{limits.h}.
>>
>> Sorry for scope creep, but the paragraph is inaccurate: We now have
>> *_WIDTH macros, and you actually cannot easily compute the number of
>> usable bits in a portable manner.
>>
>> Rest of the patch looks fine to me.
>>
>> Thanks,
>> Florian
>
> Can I commit the refactoring [1] and prepare a follow-up patch? The
> issues you point out in the diff context go even further in this
> section.
Sure, please go ahead. Note that the hard freeze is starting really
soon now.
Thanks,
Florian
More information about the Libc-alpha
mailing list