Skip to content
Prev 70398 / 398525 Next

precision problem

Omar Lakkis wrote:

            
The somewhat misleadingly named "all.equal()" function does what you 
want for ==.  For the inequalities, you may want to add some constant to 
one side, e.g.

x > y-.Machine$double.eps ^ 0.5

instead of x > y.

Duncan Murdoch