On 6/6/25 18:17, Dave Thaler wrote:
However the phrase "dividing -1" is one I find confusing. E.g., "INT_MIN dividing -1" sounds like "-1 / INT_MIN" rather than the inverse. Perhaps "divided by" instead of "dividing" assuming the inverse is meant.
Good catch. you're right. Since this paragraph is taking about overflow and underflow.it makes more sense that what is meant is "INT_MIN / -1" as this actually will overflow.
I just sent another patch for this.