|
From: | Ralf Hemmecke |
Subject: | Re: [Axiom-developer] Internal Error : Interpreter code generation failed for expression... |
Date: | Tue, 21 Jul 2009 16:46:11 +0200 |
User-agent: | Thunderbird 2.0.0.22 (X11/20090608) |
Ok, but can you explain, why Axiom can compile test2 ?the only difference is line n(i,j) := fallingPower(i+j,j) in test0andn(i,j) := fallingPower(i,j) in test2
Well my guess is that because fallingPower (p,0) == 1 fallingPower (p,n) == p*fallingPower(p-1,(n-1)::NNI) is a recursive definition. Otherwise, I have no idea. Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |