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: Andrew J. Schorr
Subject: Re: [bug-gawk] MPFR rounding issue
Date: Mon, 20 Nov 2017 14:46:05 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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

Attachment: rounddoc.patch
Description: Text document


reply via email to

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