C printf format spec for long double?

Walter Dnes waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org
Tue May 4 23:13:35 UTC 2004


On Sun, May 02, 2004 at 06:25:50PM -0400, Henry Spencer wrote
> 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.

  Thanks; much appreciated.

-- 
Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
Email users are divided into two classes;
1) Those who have effective spam-blocking
2) Those who wish they did
--
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