[LLVMdev] %lf specifier

Chris Lattner sabre at nondot.org
Mon Jul 12 12:39:02 PDT 2004

On Mon, 12 Jul 2004, Vladimir Prus wrote:

> The SingleSource/Regression/C/callargs.c test uses the %lf format specifier
> for printf. However, "man printf" does not specify what this means. Shouldn't
> the following patch be applied?

%lf should be used for long double.  This test is passing in doubles
though, so it should use %f like normal.  Thanks for the patch, it's
now applied. :)



More information about the llvm-dev mailing list