On 23 Jun 2003 at 20:20, Prof Brian D Ripley wrote: > Why is this a bug? If you take apply floor to a number that you expect to > be exactly 3, but compute it on a binary computer via logs to base e, you > must expect some rounding error. > > BTW, on my Windows XP machine I do get > > > floor(log10(1000)) > [1] 3 > On my windows XP machine (R1.7.1) i get:
> floor( log10(1000) ) [1] 2 Why this difference between different XP machines? Kjetil Halvorsen ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel