[Chapel Merge] Note overflow behavior in spec, remove out of date

Branch: refs/heads/main
Revision: a115821
Author: mppf
Link: Unavailable
Log Message:

Merge pull request #19694 from mppf/spec-overflow-behavior

Note overflow behavior in spec, remove out of date stuff

This PR updates the discussion of integral types to:

  • make the definition of int and uint easier for me to follow
  • remove section about myInt8 + myInt8 ending up as an int(32) which is no longer accurate
  • added a note about literals and a link
  • added a paragraph about signed and unsigned overflow

For #6160

Reviewed by @vasslitvinov - thanks!

Modified Files:
M doc/rst/language/spec/ranges.rst

M doc/rst/language/spec/types.rst

Compare: https://github.com/chapel-lang/chapel/compare/d9b640637d9b...a11582110001