Closed JeanChristopheRohner closed 3 years ago
Definitely a bug in the abs
primitive. With a fix:
?- test.
_66{real(0.09999999999999999,0.10000228881835704)}
_108{real(0.09999999999999999,0.10000228881835704)}
_150{real(0.8999977111816431,0.9000000000000001)}
true.
I plan to push a new version (v0.9.3alpha
), including this fix, in the next week or so, but if you're willing to edit your current version I can provide a fairly simple patch.
Thanks for testing, RW
Thanks! I can wait until the new version :-)
OK. I'll reply here when it's available. Nothing major, but it'll include a first cut at a reference section for the User Guide.
abs
fix included in version 0.9.3alpha now available on GitHub. (SWI package list may take a few days to update.)
Hi!
Not sure if this is a bug or limitation...
Running
test
:Yields:
But shouldn't the last one be 0.9?
Kind regards, JCR