This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Kahan's Floating Point Test
On Wed, May 30, 2001 at 01:54:38PM -0400, Stephen L Moshier wrote:
>
> See the FAQ at http://gcc.gnu.org, in the section on bugs and
> non-bugs, for info on floating point behavior.
I've read the FAQ. Perhaps I'm not making my point clear.
You can write assembly on the x86 that produces results that conform to IEEE
754. This is not done by default or with any compiler switches on the x86,
apparently because the conformant code isn't "fast" enough for most peoples
tastes while the "almost" conformant code is good enough for most people.
My questions is: Why isn't there a switch like
-mieee754-compliant-code-no-matter-how-slow-it-is-on-this-buggy-x86-fpu
I realize that poorly written libm functions can still cause problems but
that is relatively easy to fix.
--
Michael Price
Distributed Processing Lab; Lockheed Martin Adv. Tech. Labs
A&E 3W; 1 Federal Street; Camden, NJ 08102
856-338-4021, fax 856-338-4144 email: mprice@atl.lmco.com