Magnitude of Integers

From: Tallys Hoover Yunes <931665_at_dcc.unicamp.br>
Date: Wed 28 Jul 1999 05:54:41 PM GMT
Message-Id: <199907281754.OAA22487@araguaia.dcc.unicamp.br>
Hello,

       I'm running ECLiPSe 4.0.7 under Linux 2.0
     on a Pentium II 350 MHz with 320 MB of RAM.

       In the ECLiPSe User Manual it is written:

    "The magnitude of integers is only limited by
     your available memory..."

       What do I have to do in order to be able to
     deal with very big numbers ( ~ 10^10 )?
       I have tried the -g flag but it didn't work.

       Thank you for your help.

Best regards,
Tallys


[ Moderator's note:

You should have no problems using big integers in normal arithmetic,
e.g.

[eclipse 1]: X is 10^100.

X =
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
yes.
[eclipse 2]: X is 32423648913914417*1438460670123471041.

X = 46640143744557486284898922451898097
yes.

Maybe you are referring to finite domain constraints. They are
indeed implemented using only 32-bit arithmetic for efficiency
reasons, so you can't use big integers there.

The good news is that we plan to reengineer the finite domain
implementation in the near future and to use doubles to
represent the bounds. 

-- Joachim
]
Received on Thu Jul 29 10:29:23 1999

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:04 PM GMT GMT