[cfe-dev] precise double rewrite patch

Eli Friedman eli.friedman at gmail.com
Wed Oct 5 13:34:03 PDT 2011


On Tue, Oct 4, 2011 at 3:12 AM, Olaf Krzikalla
<Olaf.Krzikalla at tu-dresden.de> wrote:
> Am 30.09.2011 20:06, schrieb Eli Friedman:
>>
>> Your patch prints way too many digits: the second argument of toString
>> is digits, and semanticsPrecision is in bits.  Does Val.toString(Str)
>> (using the default value for the number of digits to print) not do the
>> right thing?
>
> Yep, this was indeed sufficient. And the output is now much prettier (even
> prettier than the original version). Also I've simplified the patch as
> you've advised.

r141208.

-Eli




More information about the cfe-dev mailing list