bug-gawk
[Top][All Lists]
Advanced

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

Re: complie with mpfr support


From: arnold
Subject: Re: complie with mpfr support
Date: Tue, 09 Feb 2021 09:00:53 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Hi.

Ivan Molineris <ivan.molineris@gmail.com> wrote:

> Thanks Arnold,
> I now understand that in modern linux distribution the gawk binary is
> compiled by default with MPFR support, and all works well if -M is given.
>
> In particular my version is
> GNU Awk 4.1.4, API: 1.1 (GNU MPFR 4.0.1, GNU MP 6.1.2)

That's pretty old, but that's a separate issue.

> And
> $ echo 1.8e-308 | gawk -M '$1<0.05'
> return "1.8e-308" as expected.
>
> With the default PREC, what is the biggest number that will fail the above
> test, even if in theory is lower than 0.05?

I don't really know. I'm not an expert on this stuff. Sorry.

Glad you're straightened out.

Arnold



reply via email to

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