Incorrect long quot result involving Long/MIN_VALUE

Description

Similar issue to and CLJ-1253, with the same root cause as described for CLJ-1225. Ticket filed separately from for long division / because the desired fix may be quite different in this case.

Rich Hickey stated in a comment on that this case should throw an exception.

Question: For inc (which throws when given input Long/MAX_VALUE) there is an auto-promoting inc' and an unchecked-inc. quot now throws an exception in this case. Should there be an auto-promoting quot' and an unchecked-quot?

Environment

None

Assignee

Unassigned

Reporter

Andy Fingerhut

Labels

Approval

Triaged

Patch

Code and Test

Affects versions

Priority

Minor
Configure