Re: [R] Understanding and predict round-off errors sign on simple functions

2016-07-01 Thread Sirhc via R-help
> Bert Gunter > > "The trouble with having an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Wed, Jun 29, 2016 at 2:55 AM, Sirhc via R-help

[R] Understanding and predict round-off errors sign on simple functions

2016-06-29 Thread Sirhc via R-help
Hi, May be it is a basic thing but I would like to know if we can anticipate round-off errors sign. Here is an example : # numerical matrix m <- matrix(data=cbind(rnorm(10, 0), rnorm(10, 2), rnorm(10, 5)), nrow=10, ncol=3) > m [,1] [,2] [,3] [1,] 0.4816247 1