gnupic: the funcyion maybe_evaluate() will return a random value.
Subject:
Re: the funcyion maybe_evaluate() will return a random value.
From:
Borut ####@####.####
Date:
5 Dec 2012 09:04:03 -0000
Message-Id: <50BF0DFF.4050909@gmail.com>
Hi feqin,
function maybe_evaluate() is defined as:
gpasmVal maybe_evaluate(struct pnode *p)
{
gpasmVal r;
if (p && can_evaluate(p)) {
r = evaluate(p);
} else {
r = 0;
}
return r;
}
It returns 0 if can_evaluate() returns 0. Did I miss something???
Borut
On 29. 11. 2012 05:09, feqin fan wrote:
> Hello, developers..
>
> the function maybe_evaluate() which is in the file /gpasm/evaluate.c will
> return a random value, if can_evaluate(p) return 0.
>
> I didn't sure this will be cause a problem, I will check it , later.
>
>