Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big integers #7

Open
sjrd opened this issue Feb 17, 2013 · 2 comments
Open

Big integers #7

sjrd opened this issue Feb 17, 2013 · 2 comments

Comments

@sjrd
Copy link
Member

sjrd commented Feb 17, 2013

Support for big integers is still missing.

At the very least, overflow with smallints should raise an exception, not return 0. (This part of the codebase was written when exceptions were not implemented yet!)

Then, support for big integers should be added, in a modular way. Actual big integers must not enter vm/main/! That would be a major dependency that we must avoid in the VM core codebase.

@ggutierrez
Copy link
Member

If i recall correctly the new version of boost comes with a library that
offers this. We can use it and make boost host to depend on it. What do you
think?

On Sunday, February 17, 2013, Sébastien Doeraene wrote:

Support for big integers is still missing.

At the very least, overflow with smallints should raise an exception, not
return 0. (This part of the codebase was written when exceptions were not
implemented yet!)

Then, support for big integers should be added, in a modular way. Actual
big integers must not enter vm/main/! That would be a major dependency that
we must avoid in the VM core codebase.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7.

Gustavo Gutierrez

@sjrd
Copy link
Member Author

sjrd commented Feb 18, 2013

Yep, I saw that, too. It might be a good idea. At least we could have big numbers without GMP on the boost host. And we can have a compilation option to switch to the GMP backend if so desired.

dmontenegro referenced this issue in dmontenegro/mozart2-vm Apr 9, 2013
getIntVar, Linear, Full getIntVarArgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants