[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 21:14:43 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Thanks.
Note that Ivan asked about 0.05 (5/100) and not 0.5 (1/2)... :-)
Arnold
Wolfgang Laun <wolfgang.laun@gmail.com> wrote:
> The maximum double smaller than 0.5 is:
> 0.4999999999999999400000000000
>
> -W
>
> On Tue, 9 Feb 2021 at 17:03, <arnold@skeeve.com> wrote:
>
> > 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
> >
> >
>
> --
> Wolfgang Laun
- complie with mpfr support, Ivan Molineris, 2021/02/04
- Re: complie with mpfr support, arnold, 2021/02/04
- Re: complie with mpfr support, Ivan Molineris, 2021/02/09
- Re: complie with mpfr support, arnold, 2021/02/09
- Re: complie with mpfr support, Ivan Molineris, 2021/02/09
- Re: complie with mpfr support, arnold, 2021/02/09
- Re: complie with mpfr support, Wolfgang Laun, 2021/02/09
- Re: complie with mpfr support,
arnold <=
- Re: complie with mpfr support, Wolfgang Laun, 2021/02/09
- Re: complie with mpfr support, Ivan Molineris, 2021/02/11
- Re: complie with mpfr support, arnold, 2021/02/11
- Re: complie with mpfr support, Ivan Molineris, 2021/02/11
- Re: complie with mpfr support, arnold, 2021/02/11
- Re: complie with mpfr support, Wolfgang Laun, 2021/02/11