[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf integer format compatibility
From: |
Michael D. Godfrey |
Subject: |
Re: printf integer format compatibility |
Date: |
Wed, 16 Apr 2014 22:54:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 04/16/2014 02:50 PM, John W. Eaton wrote:
This change caused a few new test failures in cases where '%d' was
previously assumed to always produce an integer result. I fixed one
problem in the datestr function by rounding the printf argument that
was used with a '%d' format. I could use some help fixing the
stemleaf function since I'm not sure what the intent is there.
I found the problem; there are cases where previously an integer value was
printed, now the value, for example, is 35.5. I will check on what
conversion
I was using in that case and decide how to fix it.
Are you sure that the change you made is what I intend to stick with?
Michael