Numeric precision (WAM) #2471
Unanswered
tiagoantao
asked this question in
Q&A
Replies: 1 comment 5 replies
-
As far as I know Scryer has arbitrary precision integers: ?- X is 10^100.
X = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
If I remember well, WAM based implementations of Prolog have issues with numeric precision: given that the WAM requires a few bits for tagging, numbers are never easy to represent in ways that go well with other languages.
Question: What is the status of Scryer regarding this? The FFI seemed OK with "normal" representations - but it would be nice to have a definitive view on this...
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions