This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [DOC PATCH] Change the name of truncM2 insn pattern to btruncM2


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]