This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Inline round for IA64
- From: Richard Henderson <rth at twiddle dot net>
- To: Geert Bosch <bosch at adacore dot com>
- Cc: Canqun Yang <canqun at nudt dot edu dot cn>, fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, Jim at nudt dot edu dot cn, Wilson at nudt dot edu dot cn, wilson at specifixinc dot com
- Date: Sat, 9 Apr 2005 08:37:30 -0700
- Subject: Re: Inline round for IA64
- References: <20050407093847.0B32A5BF2C@ds20.nudt.edu.cn> <fb5204776d9bd9af638f2078013a4d05@adacore.com>
On Thu, Apr 07, 2005 at 08:08:15AM -0400, Geert Bosch wrote:
> These issues can be fixed by not adding/subtracting 0.5, but Pred (0.5).
An interesting idea. Usually I see libraries switch to chopped
rounding instead, which also avoids the problem described.
r~