users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Iteratively calling Prolog from C


From: Lindsey Spratt
Subject: Re: Iteratively calling Prolog from C
Date: Thu, 17 Jul 2003 11:10:24 -0500

Daniel,
...on further reflection, I think I see your point. Although the 'float' change does fix the factorial calculation in gprolog, it really shouldn't be necessary for a result (such as factorial of 12) that is within the range of a 32 bit signed integer. There does seem to be a problem with gprolog's integer arithmetic.


Lindsey Spratt
http://homepage.mac.com/lspratt






reply via email to

[Prev in Thread] Current Thread [Next in Thread]