On 11/29/2011 04:50 PM, Bruno Haible wrote:
> Eric Blake wrote:
>> Meanwhile, your patch for adding 'F' is okay
> 
> Why in upper case? The common habit seems to be to use the suffix 'f'
> in lower case but 'L' in upper case. Don't ask me why, but this is the
> way it's done in the vast majority of the glibc sources.

I guess the argument here is that 'f' is easier to type, and still
visually distinct, while 'l' looks too much like '1' so 'L' helps make
the distinction.  Also, %Lg is how you specify long double to printf, so
writing a constant with L helps.

No problem by me if we stick to 'f' and 'L' for the places where we want
suffixes.

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to