* Re: real.c fails floating-point tests
@ 2002-10-18 15:01 Brad Lucier
0 siblings, 0 replies; only message in thread
From: Brad Lucier @ 2002-10-18 15:01 UTC (permalink / raw)
To: gcc; +Cc: Brad Lucier, dewar, rth, steve
Re:
> > Previously the REAL_VALUE_TYPE could not contain auxiliary
> > information, because often it was actually just emulating a host computer
> > double. If you have removed that restriction then you can put various
> > other items into the data structure and then it looks like it would be
> > simple to make the 160-bit precision follow some arithmetic rules that
> > are easier to analyze and test.
>
> I definitely agree with this analysis. High precision is never an adequate
> susbtitute for well defined axiomatic properties when it comes to fpt.
"High precision" *is* an axiomatic property; and if the precision is high
enough then you get the right target answer, at least for large enough
intermediate precisions and round-to-nearest, as I pointed out in
http://gcc.gnu.org/ml/gcc/2002-10/msg01051.html
I think the categorization of goals and strategies in that e-mail is
useful; it seems that Steve wants to use Strategy 1 and Richard wants
to use Strategy 2; either can work with round-to-nearest, which I
called Goal A. If we ever want to implement directed rounding in real.c,
then only Steve's strategy (Strategy 1) will work.
Brad
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-18 18:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-18 15:01 real.c fails floating-point tests Brad Lucier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).