awk and stdio-common/tst-printf-format-as-double* trouble (mpfr support needed)

Andreas K. Huettel dilfridge@gentoo.org
Fri Dec 20 15:15:56 GMT 2024


Am Donnerstag, 19. Dezember 2024, 09:51:54 MEZ schrieb arnold@skeeve.com:
> Hi All.
> 
> With respect to MPFR in gawk:
> 
> TL;DR: It is highly unlikely to go away, but I reserve the right to
> remove it in some future version.  Practically speaking, you
> can continue to rely on it.


OK, thanks. My suggestion would be to just document it as a requirement
for the glibc test suite at the moment.


> The longer story:
> 
> - Adding MPFR was a mistake. This became clear only in retrospect.
>   But it's been there for so long I'm very hesitant to remove it.
> 
> - It took years until I could get identical results from the test suite
>   for MPFR and non-MPFR (although I have that now).
> 
> - A major asshole of a user who liked to use MPFR to show off how bright
>   he was complained when things didn't meet his expectations and strongly
>   insulted me, publicly.
> 
> - At that point I put MPFR on parole. It's not unmaintained though; one
>   of my team has volunteered to help with bugs, although since then
>   there haven't been any that I haven't been able to deal with.
> 
> - I should probably update the status of MPFR in the doc.
> 
> Also, just to clarify, gawk's printf uses the C and MPFR libraries for
> the floating point formats.
> 
> Integer, character, and string formatting it handles itself.
> 
> HTH,
> 
> Arnold
> 


-- 
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 981 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20241220/d48fb847/attachment.sig>


More information about the Libc-alpha mailing list