What is wrong with Bugzilla? [Was: Re: GCC and Floating-Point]

Vincent Lefevre vincent+gcc@vinc17.org
Tue May 31 18:40:00 GMT 2005


On 2005-05-31 17:10:58 +0200, Andreas Schwab wrote:
> Scott Robert Ladd <scott.ladd@coyotegulch.com> writes:
> > "Portability" means different things to different people. There's a
> > difference between source code portability and "result" portability.
> 
> But making round to double the default makes it only worse in this case,
> since there is no portable way to change the rounding precision.

No, if the goal is to be portable with various platforms, you need
to round to double by default, since single precision (almost no
longer used for FP computations) and double precision are the only
standard precisions in IEEE 754.

-- 
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



More information about the Gcc mailing list