[R] -1.1 - 0.1 + 1.2 is NOT null! Why?
Patrick Connolly
p_connolly at slingshot.co.nz
Thu Jul 12 22:04:39 CEST 2012
On Tue, 10-Jul-2012 at 11:19PM +0200, Erdal Karaca wrote:
|> german "Null" == english "zero" :-)
German "Gift" == English "poison" :-(
|>
|> 2012/7/10 Rolf Turner <rolf.turner at xtra.co.nz>
|>
|> >
|> >
|> > In addition to taking cognisance of Richard Heiberger's reply you
|> > should also learn to distinguish between the concept of "null" and
|> > "zero". They are not at all the same thing.
|> >
|> > cheers,
|> >
|> > Rolf Turner
|> >
|> >
|> > On 11/07/12 08:17, ollestrat wrote:
|> >
|> >> Hello,
|> >>
|> >> I fear its a stupid question,..but here it is:
|> >>
|> >> If I do this simple calculation with the R console, I surprisingly do not
|> >> get a zero. Why?
|> >>
|> >> -1.1-0.1+1.2
|> >> [1] -2.220446e-16
|> >>
|> >>
|> >> greetings, Ole
|> >>
|> >
|> > ______________________________________________
|> > R-help at r-project.org mailing list
|> > https://stat.ethz.ch/mailman/listinfo/r-help
|> > PLEASE do read the posting guide
|> > http://www.R-project.org/posting-guide.html
|> > and provide commented, minimal, self-contained, reproducible code.
|> >
|>
|> [[alternative HTML version deleted]]
|>
|> ______________________________________________
|> R-help at r-project.org mailing list
|> https://stat.ethz.ch/mailman/listinfo/r-help
|> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
|> and provide commented, minimal, self-contained, reproducible code.
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
___ Patrick Connolly
{~._.~} Great minds discuss ideas
_( Y )_ Average minds discuss events
(:_~*~_:) Small minds discuss people
(_)-(_) ..... Eleanor Roosevelt
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
More information about the R-help
mailing list