Skip to content
Prev 367202 / 398506 Next

A strange arithmetic error in R (maybe a bug)

There is no bug, of course, this is a common floating point arithmetic
misunderstanding.
[1] 2.0099999999999997868

Please search for "What every scientist should know about floating-point
arithmetic" and you'll hopefully understand what the "bug" is.

Hth,
Adrian
On Sat, Feb 18, 2017 at 6:18 AM, T. Zhang <tz05 at me.com> wrote: