manual: clarify the rules for integer literals

This commit is contained in:
Araq 2017-12-27 10:23:57 +01:00
commit b103b4d3f2

View file

@ -41,7 +41,8 @@ These integer types are pre-defined:
``int`` ``int``
the generic signed integer type; its size is platform dependent and has the the generic signed integer type; its size is platform dependent and has the
same size as a pointer. This type should be used in general. An integer same size as a pointer. This type should be used in general. An integer
literal that has no type suffix is of this type. literal that has no type suffix is of this type if it is in the range
``low(int32)..high(int32)`` otherwise the literal's type is ``int64``.
intXX intXX
additional signed integer types of XX bits use this naming scheme additional signed integer types of XX bits use this naming scheme