File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ and the type of the operator's result:
18
18
In case one of the operands is a :ref: `literal number <rational_literals >` it is first converted to its
19
19
"mobile type", which is the smallest type that can hold the value
20
20
(unsigned types of the same bit-width are considered "smaller" than the signed types).
21
- If both are literal numbers, the operation is computed with arbitrary precision.
21
+ If both are literal numbers, the operation is computed with effectively unlimited precision in
22
+ that the expression is evaluated to whatever precision is necessary so that none is lost
23
+ when the result is used with a non-literal type.
22
24
23
25
The operator's result type is the same as the type the operation is performed in,
24
26
except for comparison operators where the result is always ``bool ``.
You can’t perform that action at this time.
0 commit comments