[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printf inconsistent results for %.0f
From: |
Chet Ramey |
Subject: |
Re: printf inconsistent results for %.0f |
Date: |
Wed, 14 Aug 2024 09:11:05 -0400 |
User-agent: |
Mozilla Thunderbird |
On 8/13/24 7:05 PM, Grisha Levit wrote:
On Mon, Aug 12, 2024, 11:04 Chet Ramey <chet.ramey@case.edu
<mailto:chet.ramey@case.edu>> wrote:
My question is why the (admittedly old) gnulib replacement strtod/strtold
is messing things up.
Looks like printf(3) gets called with a `Lf' conversation specifier and a
double argument.
Yes, I came to the same conclusion with an essentially identical fix.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature