|
|
|
|
|
by vanderZwan
2943 days ago
|
|
> The example I usually use is allowing integers to overflow, instead of automatically promoting to arbitrary precision (Python), or converting to a sentinel value (R). IIRC Julia used to automatically promote integers, is this the main reason why this was dropped? |
|
If an operation involves two different integer types, they do promote to the larger one (i.e. an Int64 + a BigInt will give a BigInt).