This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FWD: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
- To: bosch at gnat dot com
- Subject: Re: FWD: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
- From: Joe Buck <jbuck at Synopsys dot COM>
- Date: Tue, 15 Dec 98 9:28:50 PST
- Cc: hjstein at bfr dot co dot il, moshier at mediaone dot net, egcs at cygnus dot com, tprince at cat dot e-mail dot com
> Many useful fpt algorithms rely on ordering of operations to be honored,
> and a compiler evaluating B + (A - B) as (B + A) - B or even as A
> is seriously broken for numerical stuff.
gcc is not broken in that way: parentheses prevent reordering for FP
operations.