This is the mail archive of the
mailing list for the GCC project.
Re: Patch gcc-4.0 should not apply mathematical associative rules for addition or multiplication
On Thu, Oct 07, 2004 at 10:10:57PM +0000, Joseph S. Myers wrote:
> A previous discussion of this sort of thing mentioned the case of x * 0.25
> == 0 but x * 0.5 == x so x * 0.5 * 0.5 != x * 0.25, for small x and
> rounding towards positive infinity with -frounding-math.
Hmm? For what X does this hold? I can't find one for floats.