-
Notifications
You must be signed in to change notification settings - Fork 21
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
Feature request predicate divmod/4 #71
Comments
Thanks for the suggestion! You may try this:
which actually gives an implementation for div/3 (before we introduce it as an arithmetic expression):
|
No, Ciao uses its own implementation of bignums. Of course we could add it, but is there any example where performance of this operation is critical? |
It is better not to close it because it is not solved. Open issues are reminders of things that need to done or would be good to do, for which we thank you. Unfortunately time is limited, snd thus when to get something done is indeed a matter of priorities, as @jfmc implied. |
Its quite customary that Prolog systems nowadays
have divmod/4, because many bigint algorithms can
produce both div and mod at the same time.
Trying to port a SWI-Porlog program I get:
Could this be added to Ciao Prolog, especially the playground?
The text was updated successfully, but these errors were encountered: