28 |
Basis: |
Basis: |
29 |
- Implemented IntInf. |
- Implemented IntInf. |
30 |
- Made LargeInt a projection of IntInf (by filtering through INTEGER). |
- Made LargeInt a projection of IntInf (by filtering through INTEGER). |
31 |
- Added some missing Real54 operations, most notably Real.toLargeInt. |
- Added some missing Real64 operations, most notably Real.toLargeInt. |
32 |
- Added FixedInt as a synonym for Int32. |
- Added FixedInt as a synonym for Int32. |
33 |
|
|
34 |
compiler: |
compiler: |
51 |
|
|
52 |
* A word about conversion primops: |
* A word about conversion primops: |
53 |
If conversions involving intinf do not cancel out during |
If conversions involving intinf do not cancel out during |
54 |
CPS contract, the compiler must insert calls to Core functions. |
CPS contract, then the compiler must insert calls to Core functions. |
55 |
Since all core access must be resolved already during the FLINT |
Since all core access must be resolved already during the FLINT |
56 |
translate phase, it would be too late a the time of CPS contract |
translate phase, it would be too late a the time of CPS contract |
57 |
to add now Core calls. For this reason, conversion primops |
to add new Core calls. For this reason, conversion primops |
58 |
for intinf carry two arguments: 1. the numeric argument that |
for intinf carry two arguments: 1. the numeric argument that |
59 |
they are supposed to convert, and 2. the Core function that |
they are supposed to convert, and 2. the Core function that |
60 |
can help with this conversion if necessary. If CPS contract |
can help with this conversion if necessary. If CPS contract |
61 |
eliminates the primop, the Core functions become dead and go |
eliminates a primop, then the associated Core function becomes |
62 |
away. Intinf conversion primops that do not get eliminated |
dead and goes away. Intinf conversion primops that do not get |
63 |
by CPS contract get rewritten into calls of those core functions |
eliminated by CPS contract get rewritten into calls of their |
64 |
by a separate, new phase. |
core functions by a separate, new phase. |
65 |
|
|
66 |
interactive system: |
interactive system: |
67 |
- Control.Print.intinfDepth controls max length of intinf constants |
- Control.Print.intinfDepth controls max length of intinf constants |
82 |
FixedInt. |
FixedInt. |
83 |
|
|
84 |
Throughout the code: |
Throughout the code: |
85 |
Started useng IntInf.int literals and built-in operations |
Started using IntInf.int literals and built-in operations |
86 |
(e.g., comparison with 0) where this seems appropriate. |
(e.g., comparison with 0) where this seems appropriate. |
87 |
|
|
88 |
|
|