danilopedraza / komodo

The Komodo programming language code repository
https://komodo-lang.org/
GNU General Public License v3.0
7 stars 0 forks source link

Using BigInts as machine words #38

Closed danilopedraza closed 3 months ago

danilopedraza commented 5 months ago

Currently, the default integer type is a BigInt. It is not bounded, so I have to check for overflows. The casting behavior that I defined with code (not tests) is:

danilopedraza commented 5 months ago

Should I set a different behavior? The conflictive cases that I can imagine are related to ranges.

danilopedraza commented 3 months ago

I think this is just fine for now.