The following very simple sisal source (a solution to
the polynomial evaluator exercise of the sisal
tutorial) produces a corrupted C file. Basically,
function polyEvalMulti isn't included in the C file,
whereas polyEvalSingle is included there two times.
The astonishing thing is that replacing the recursive
pow function with something simpler, e.g a call to
pre-defined function exp, works correctly.
Endless sorries and a Thousand Years of Pain upon me if
it's just my own bug =)
Log in to post a comment.