Excerpts from camey's message of Tue Feb 10 15:55:04 +0100 2009:
> Using the commands bellow I expected that the answer is TRUE, but it is FALSE!
> 
> P_exposicao=.9
> (1-P_exposicao)==.1

Look at the difference of the two, it is much smaller than .Machine$double.eps 
on my computer.

This is not a bug, it's due to the limited precision of floating point numbers.

Sincerely
Olaf Mersmann

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to