[llvm-commits] CVS: llvm/lib/Support/FileUtilities.cpp
Reid Spencer
reid at x10sys.com
Mon Aug 1 18:20:55 PDT 2005
Chris Lattner wrote:
> On Mon, 1 Aug 2005, Reid Spencer wrote:
>
>> While I don't know anything about "D", the "d" control character is
>> used for signed decimal integers the same as %i. If you pass a float
>> in there to sprintf and friends, you're going to get garbage at best
>> and a crash at worst.
>
>
> Completely unrelated. This just allows fpcmp to parse "1.0D3" as
> "1.0e3", i.e. "1000".
Okay. I guess I should have looked at the code in a little more detail. It sure
looked like sprintf stuff :)
Reid.
More information about the llvm-commits
mailing list