C printf format spec for long double?

Henry Spencer henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org
Sun May 2 22:25:50 UTC 2004


On Sun, 2 May 2004, Walter Dnes wrote:
>   What is the C printf format spec for long double?  Nothing I try seems
> to work without at least a warning.

Try %Lf (the ell must be capitalized).  That's the standard.

                                                          Henry Spencer
                                                       henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list