Opened 13 years ago
Last modified 13 years ago
#1709 new enhancement
BigInt package — at Initial Version
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Frontend | Version: | |
Keywords: | Cc: | Martin Sjölund, Adrian Pop, Per Östlund, Peter Aronsson |
Description
MSL contains constants >31-bit, and we could support them using either an arbitrary-size data-structure or simply 128-bit or something. This would reduce the need for some ad-hoc Integer to Real conversions that we perform today:
{{{model M
Integer i = 100000000000 * 100000000000;
end M;}}}
Gives after type-checking:
{{{class M
Integer i = 1e+22;
end M;}}}
Note:
See TracTickets
for help on using tickets.