This is the mail archive of the gcc@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: 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 <vincent@vinc17.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


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