Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: spec: the integer division exception rule should be moved to the integer overflow section #23443
In Go spec:
The above content is in the "Integer operators" section,
And it is not an exception. It is just a normal overflow,
The benefit of the proposal is to make people know
changed the title from
proposal: the integer division exception rule should be moved to the integer overflow section
proposal: spec: the integer division exception rule should be moved to the integer overflow section
Jan 14, 2018
@dotaheor After considering the suggested change, I am proposing a compromise: As currently formulated, the case
That said, I take your point that the underlying cause is integer overflow. I added a respective phrase to the section and I also mentioned that integer division may overflow in the overflow section.
See the upcoming CL. Thanks.