bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Invalid result when converting to hex literal


From: Steven Penny
Subject: Re: [bug-gawk] Invalid result when converting to hex literal
Date: Tue, 20 Mar 2018 15:13:58 -0500

On Tue, Mar 20, 2018 at 2:50 PM wrote:
> POSIX doesn't require awk to support %a.  If you think it does,
> please cite chapter and verse.

I did that a year ago already, but I will do it again:

> The printf statement shall produce output based on a notation similar to
> the File Format Notation used to describe file formats in this volume of
> POSIX.1-2008 (see XBD File Format Notation).

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html#tag_20_06_13_10

> The floating-point number argument representing a floating-point number
> shall be converted in the style "[-]0xh.hhhhp±d" [...]

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap05.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]