This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [DOC PATCH] Change the name of truncM2 insn pattern to btruncM2
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Uros Bizjak <uros dot bizjak at kss-loka dot si>
- Cc: gcc-patches at gcc dot gnu dot org,Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>,fortran at gcc dot gnu dot org
- Date: Mon, 23 May 2005 12:07:49 +0200
- Subject: Re: [DOC PATCH] Change the name of truncM2 insn pattern to btruncM2
- References: <200505202139.36166.ebotcazou@libertysurf.fr> <200505231129.36739.ebotcazou@libertysurf.fr> <1116842514.4291aa1253729@ssl.kss-loka.si>
> Do you think we should emphasize this in gcc document (as the manpage for
> rint already says that)?
Definitely.
> In this case, I would suggest to add another entry for rint:
>
> `rintM2'
> Store the argument rounded according to the default rounding mode and
> raise the inexact exception
> when the result differs in value from the argument.
>
> The `nearbyint' and `rint' built-in functions of C always use the
> mode which corresponds to the C data type `double', `nearbyintf'
> and `rintf' built-in functions use the mode which corresponds to
> the C data type `float'.
Looks fine, thanks!
--
Eric Botcazou