NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: bin/59749: awk bad test to see if printf supports the %a format
The following reply was made to PR bin/59749; it has been noted by GNATS.
From: <trevor.zacks%btopenworld.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc:
Subject: RE: bin/59749: awk bad test to see if printf supports the %a format
Date: Thu, 6 Nov 2025 16:28:27 -0000
Ah,
I think I have been somewhat 'economical' with the details of this.
Am porting (n)awk to windows using Microsoft Vis C++ 2022.
The printf man page says -
a Floating-point Signed hexadecimal double-precision floating-point
value that has the form
[-]0xh.hhhhp[+|-]dd, where h.hhhh are the hex digits (using lower case
letters) of the mantissa, and dd are one or more digits for the exponent.
The precision specifies the number of digits after the point.
Default precision is 13. If precision is 0, no decimal point is printed
unless the # flag is used.
^^^^
This would seem to be a lie
But anyway ...
Close this if feel there is nothing to do
Trevor
-----Original Message-----
From: Christos Zoulas via gnats <gnats-admin%NetBSD.org@localhost>
Sent: 06 November 2025 15:50
To: gnats-admin%netbsd.org@localhost; netbsd-bugs%netbsd.org@localhost;
trevor.zacks%btopenworld.com@localhost
Subject: Re: bin/59749: awk bad test to see if printf supports the %a format
The following reply was made to PR bin/59749; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
trevor.zacks%btopenworld.com@localhost
Subject: Re: bin/59749: awk bad test to see if printf supports the %a format
Date: Thu, 06 Nov 2025 10:47:19 -0500
On 2025-11-06 10:40 am, via gnats wrote:
> The following reply was made to PR bin/59749; it has been noted by >
GNATS.
>
> From: <trevor.zacks%btopenworld.com@localhost>
> To: <gnats-bugs%netbsd.org@localhost>
> Cc:
> Subject: RE: bin/59749: awk bad test to see if printf supports the %a >
format > Date: Thu, 6 Nov 2025 15:33:49 -0000
Weird. I ran your program and I get:
[10:44am] 1822>./a.out
xbuf:0x1.5p+5: have_a_format:1
xbuf:0x1.5p+5: have_a_format:1
can you share OS/version/architecture, and also run your program with env
- ./a.out to rule out any environment setup?
christos
Home |
Main Index |
Thread Index |
Old Index