From berwin at maths.uwa.edu.au  Tue Feb 12 16:13:36 2008
From: berwin at maths.uwa.edu.au (Berwin A Turlach)
Date: Tue, 12 Feb 2008 23:13:36 +0800
Subject: [Rd] 0.45<0.45 = TRUE (PR#10744)
In-Reply-To: <20080212144633.GA29059@localdomain>
References: <20080212143509.6B40F282EF48@mail.pubhealth.ku.dk>
	<20080212144633.GA29059@localdomain>
Message-ID: <20080212231336.2b665ab7@absentia>

On Tue, 12 Feb 2008 15:47:56 +0100
Gabor Csardi <csardi at rmki.kfki.hu> wrote:

> OMG, not again please!
> 
> FAQ 7.31.

Yeah, there seems to be a cluster of that type of questions at the
moment.

Perhaps it is time to introduce a global option "HaveReadFAQ7.31" whose
default is "FALSE" but can be changed via the normal mechanism to
"TRUE".

Any comparison of numeric values/vectors should print a warning message
"You are comparing numbers calculated using finite precision
arithmetic, have you read FAQ 7.31."  while the value of this option is
FALSE.  

Perhaps that will help. :)

Cheers,

	Berwin

=========================== Full address =============================
Berwin A Turlach                            Tel.: +65 6516 4416 (secr)
Dept of Statistics and Applied Probability        +65 6516 6650 (self)
Faculty of Science                          FAX : +65 6872 3919       
National University of Singapore     
6 Science Drive 2, Blk S16, Level 7          e-mail: statba at nus.edu.sg
Singapore 117546                    http://www.stat.nus.edu.sg/~statba



[Rd] 0.45<0.45 = TRUE (PR#10744)
Berwin A Turlach