Update value-types.rst

This commit is contained in:
aathan 2022-03-22 23:06:23 -07:00 committed by GitHub
parent 43f29c00da
commit 07c9384b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -463,7 +463,7 @@ There is no additional semantic meaning added to a number literal containing und
the underscores are ignored. the underscores are ignored.
Number literal expressions retain arbitrary precision until they are converted to a non-literal type (i.e. by Number literal expressions retain arbitrary precision until they are converted to a non-literal type (i.e. by
using them together with anything else than a number literal expression (like boolean literals) or by explicit conversion). using them together with anything other than a number literal expression (like boolean literals) or by explicit conversion).
This means that computations do not overflow and divisions do not truncate This means that computations do not overflow and divisions do not truncate
in number literal expressions. in number literal expressions.