[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] Invalid result when converting to hex literal
From: |
arnold |
Subject: |
Re: [bug-gawk] Invalid result when converting to hex literal |
Date: |
Thu, 22 Mar 2018 02:15:39 -0600 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
"Nelson H. F. Beebe" <address@hidden> wrote:
> Should you decide to add support for the %a format in gawk, you are
> correct to be concerned about possible lack of support for accurate
> base conversions in older C libraries.
>
> A solution for IEEE 754 systems (and thus, not applicable to VAX VMS,
> or IBM S/390 and zSeries mainframes) are the conversion routines
> written by the well-known numerical analyst David M. Gay, available at
>
> http://www.netlib.org/fp/
>
> They have been tested on many different systems and carry license
> statements that I believe should be acceptable for inclusion in GNU
> software.
I reviewed this briefly. There is support for parsing hex floating
point, but I don't see a way to generate such a string from a double,
so that doesn't help on OpenVMS.
Thanks,
Arnold
- [bug-gawk] Invalid result when converting to hex literal, Steven Penny, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, arnold, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, arnold, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, Nelson H. F. Beebe, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, Steven Penny, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, arnold, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, Steven Penny, 2018/03/20
- Re: [bug-gawk] Invalid result when converting to hex literal, arnold, 2018/03/21
- Re: [bug-gawk] Invalid result when converting to hex literal, Nelson H. F. Beebe, 2018/03/21
- Re: [bug-gawk] Invalid result when converting to hex literal,
arnold <=
- Re: [bug-gawk] Invalid result when converting to hex literal, Arnold Robbins, 2018/03/22
- Re: [bug-gawk] Invalid result when converting to hex literal, arnold, 2018/03/21