From b103b4d3f2c8ac16e8f30f72cf733ace21bbc3a6 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 27 Dec 2017 10:23:57 +0100 Subject: manual: clarify the rules for integer literals --- doc/manual/types.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/manual/types.txt b/doc/manual/types.txt index 56584f257..1477995dd 100644 --- a/doc/manual/types.txt +++ b/doc/manual/types.txt @@ -41,7 +41,8 @@ These integer types are pre-defined: ``int`` 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 - 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 additional signed integer types of XX bits use this naming scheme -- cgit 1.4.1-2-gfad0