Opened 13 years ago

Last modified 12 years ago

#1709 new enhancement

BigInt package

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 (last modified by Martin Sjölund)

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;

Change History (3)

comment:1 by Martin Sjölund, 12 years ago

Cc: sjoelund.se, adrpo, perost, petar, sjoelund.se → sjoelund.se, adrpo, perost, petar
Component: Backend
Type: defectenhancement

comment:2 by Martin Sjölund, 12 years ago

Description: modified (diff)

comment:3 by Martin Sjölund, 12 years ago

Component: BackendFrontend
Milestone: Future
Note: See TracTickets for help on using tickets.