Skip to content
Prev 9900 / 63421 Next

potential r bug (floor)

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
[1] 3

There is no bug in R, but your usage of it is potentially dangerous.

You might want to ensure your R is up-to-date: version 1.7.1 is current.
On Mon, 23 Jun 2003, Alexander Pasman wrote: