[llvm] r189624 - Change default # of digits for APFloat::toString

Sean Silva silvas at purdue.edu
Fri Aug 30 20:56:13 PDT 2013


On Thu, Aug 29, 2013 at 7:44 PM, Eli Friedman <eli.friedman at gmail.com>wrote:

> I spent some time looking into printing exactly the right number of
> digits if a precision isn't specified, but it's kind of complicated,
> and I'm not really sure I understand what APFloat::toString is supposed
> to output for FormatPrecision != 0 (or maybe the current API specification
> is just silly, not sure which).  I have a WIP patch if anyone is
> interested.
>
>
If you haven't already run into it during your investigations, definitely
check out <
http://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf>.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130830/1eb29f06/attachment.html>


More information about the llvm-commits mailing list