This is the mail archive of the
mailing list for the GCC project.
Re: Inline round for IA64
On 2005-04-07 08:08:15 -0400, Geert Bosch wrote:
> On platforms such as x86, where GCC implicitly widens intermediate
> results for IEEE double,
This depends on the FPU configuration, so...
> the rounding to integer should be performed entirely in long double
> mode, using the long double predecessor of 0.5.
make sure that this works with both configurations (IMHO, one may
assume that no-one would want to configure the rounding precision
to single precision).
Vincent Lefèvre <firstname.lastname@example.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA