Roberto Bagnara wrote:

To the point that, when a/b is not representable, raising SIGFPE
for a%b is standard conformant behavior?

possibly so ..

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.

not clear that this is a defect, I would find it quite reasonable
for the C standard to recognize this anticipatable case, and decide
that a%b is undefined if a/b is undefined.


Reply via email to