Closed jacobfriedman closed 3 years ago
I'm trying to find an ISO system (free / non-sicstus) that can handle the problem of X #= 1.1*1.1.
X #= 1.1*1.1
The BNR system is useful in that it provides an answer, whereby GNU does not:
uncaught exception: error(type_error(fd_evaluable,1.1000000000000001),(#=)/2)
What should be done about this?
Thank you - and I hear v2 may be coming out soon ;)
What you need is a solver over reals (GNU Prolog provides a solver over finite integers). You can look at the clpr library (provided in SWI Prolog)
Thank you! I'm looking at BNR- very interesting. Take care.
I'm trying to find an ISO system (free / non-sicstus) that can handle the problem of
X #= 1.1*1.1
.The BNR system is useful in that it provides an answer, whereby GNU does not:
uncaught exception: error(type_error(fd_evaluable,1.1000000000000001),(#=)/2)
What should be done about this?
Thank you - and I hear v2 may be coming out soon ;)