Skip to content

Add documentation to division primops

Jannis requested to merge 1Jajen1/ghc:doc-div into master

Documentation for #24556.

Adds documentation to division primops. Specifically to document overflow as undefined behavior for quot/rem/quotRem. Also adds documentation for unsigned division.

I copied and adjusted the docs to every sized variant too, but given that most other sized ops don't duplicate documentation, I'm not sure if this is wanted.

Merge request reports