[M3devel] Arbitrary precision integers

Jay jay.krell at cornell.edu
Mon Dec 29 00:59:58 CET 2008


> though there may be
> a library implementing them somewhere.

The compiler itself has three such libraries embedded within it. :)
Depending on how you define things.
 
The front end cm3 does at least 64 bit integer math via 16 bit integers.
cm3cg uses gmp and mpfr.
The goals are probably the same for all three -- evaluate constant expressions correctly for the target.
 
 - Jay


----------------------------------------
> From: hosking at cs.purdue.edu
> To: martinbishop at bellsouth.net
> Date: Mon, 29 Dec 2008 09:46:44 +1100
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] Arbitrary precision integers
>
> The language itself does not support such things, though there may be
> a library implementing them somewhere.
>
> On 29 Dec 2008, at 09:14, Martin Bishop wrote:
>
>> Does Modula-3 (or one of it's implementations) support arbitrary
>> precision integers?
>


More information about the M3devel mailing list