bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] MPFR rounding issue


From: arnold
Subject: Re: [bug-gawk] MPFR rounding issue
Date: Tue, 21 Nov 2017 08:15:40 -0700
User-agent: Heirloom mailx 12.4 7/29/08

Hi Andy.

Let's push that to gawk-4.2-stable.  I'll get it to the other branches.

David - I think you can close the downstream bug.

Thanks,

Arnold

"Andrew J. Schorr" <address@hidden> wrote:

> On Mon, Nov 20, 2017 at 12:21:03PM -0700, address@hidden wrote:
> > Andy - sounds like we need to revise the doc to say "rounds away
> > from zero" in all appropriate places.
>
> Agreed. Is there an IEEE name for this "round away from zero" mode?
> I can't seem to find one. I guess that's how somebody got confused
> and labeled it "roundTiesToAway".
>
> Rounding mode                    IEEE name              'ROUNDMODE'
> ---------------------------------------------------------------------------
> Round to nearest, ties to even   'roundTiesToEven'      '"N"' or '"n"'
> Round toward positive infinity   'roundTowardPositive'  '"U"' or '"u"'
> Round toward negative infinity   'roundTowardNegative'  '"D"' or '"d"'
> Round toward zero                'roundTowardZero'      '"Z"' or '"z"'
> Round away from zero                                    '"A"' or '"a"'
>
> Possible patch attached.
>
> Regards,
> Andy



reply via email to

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