[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
the funcyion maybe_evaluate() will return a random value.
From: feqin fan ####@####.#### Date: 29 Nov 2012 04:09:47 -0000 Message-Id: <CAOfAq_ovS+fKraXH34KTBVfFmCcK+FQ1rMs7=+Zqp47NCbzwzQ@mail.gmail.com> 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. -- *live long and prosper..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: the funcyion maybe_evaluate() will return a random value.
From: feqin fan ####@####.#### Date: 29 Nov 2012 07:49:24 -0000 Message-Id: <CAOfAq_rPd4N5_tbGa_G06ipW64twe+T2DTQ=d5WLMkT-1OyWFw@mail.gmail.com> Well, It maybe cause a problem if the state.pass is 1. 2012/11/29 feqin fan ####@####.#### > 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. > > > -- > *live long and prosper..* > > -- *live long and prosper..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. > > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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..* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |