gnupic: the funcyion maybe_evaluate() will return a random value.
Subject:
Re: the funcyion maybe_evaluate() will return a random value.
From:
feqin fan ####@####.####
Date:
6 Dec 2012 09:01:28 -0000
Message-Id: <CAOfAq_qt-KfCqRAFhvHcqOG4jz+-PyDr-xa+g5A4i3nfBat3FQ@mail.gmail.com>
sorry, It's my mistake..
I'm really strange why I get that thought at that time.
:-(
I'll be carefull before send messages to the maillist.
2012/12/5 Borut Ražem ####@####.####
> 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.
>>
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>
--
*live long and prosper..*