[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Some strange addition rules



PureBytes Links

Trading Reference Links

{empty} simply means N/A, non available. From some point of view it 
is equivalent to "not defined" and, consequently, any addition to a 
not defined quantity will be N/A too, ie {empty}.
On the other side, the neutral element of the addition is 0 and one 
could expect X+{empty}=X, since X is not empty, it exists and it is 
irrational to be disappeared.
Two different points and some priorities in addition concept...
If you have 4 boxes and you add the apples, you would probably say
30+50+20+0 if the last box was empty. Would you say "I can not sum 
the oranges, because the last box is empty" ? Probably not...
The common sense, IMO, would count 100 oranges.
DT
--- In amibroker@xxxxxxxxxxxxxxx, Nigel Rowe <rho@xxxx> wrote:
> Quite frankly, YES.
> 
> In fact I submitted a bug report to Tomasz some time ago about 
instances when 
> it wasn't.
> 
> If {Empty} means "I have no idea what the value is supposed to be 
here", *ANY* 
> arithmetic involving it, is also going to be "I can't possibly tell 
what the 
> answer is"
> 
> Hmmm, I'm going to have to check if some of those bugs have now 
disappeared.
> 
> Nigel (who would rather know, that he doesn't know, than assume 
that he does 
> and get burnt)
> 
> 
> On Thu, 6 Mar 2003 10:18 pm, DIMITRIS TSOKAKIS wrote:
> > Do you expect {empty}+X={empty} ?
> > Without any further notice ?
> > Do you mean IT IS OBVIOUS ?
> > I do not think so...
> > Anyway, thank you for the opposite expected {empty}+X result.
> > DT
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, Nigel Rowe <rho@xxxx> wrote:
> > > Dimitris,
> > > 	I'm going to disagree with you here.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/