This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Miscompilation of remainder expressions


Roberto Bagnara writes:
 > Andrew Haley wrote:
 > > 
 > > If the quotient a/b is *not* representable, is the behaviour of %
 > > well-defined or not?  It doesn't say.
 > 
 > To the point that, when a/b is not representable, raising SIGFPE
 > for a%b is standard conformant behavior?

 > Note however that I am not saying that the standard is not defective.
 > Who knows how to write and submit C/C++ standard defect reports?
 > Let us do that, assuming that such a report has not been submitted
 > already.

It's already been done.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]