|
From: | Daniele Peri |
Subject: | Re: Iteratively calling Prolog from C |
Date: | Thu, 17 Jul 2003 18:53:35 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 |
Daniel Dudley wrote:
Daniele Peri wrote:Daniel Dudley wrote:
| ?- factorial(15,F). F = -143173632 yes DanielSuch little N doesn't really help testing the recursion optimization. As I told you before you may want to turn the factorial into a sum of integers (not very important) and try with a N large enough (important). The representation error you are talking about is a different subject.Using the backtracking algorithm and ECLiPsE 5.6: Big enough for you? Daniel
Of course my answer is no, as long as you keep using other prolog environments. It should be obvious as I am posting messages in the "gnuprolog mailing list" but I am interested in gprolog's recursion optimization.
Daniele
[Prev in Thread] | Current Thread | [Next in Thread] |