search for: 2384185

Displaying 4 results from an estimated 4 matches for "2384185".

2015 Apr 14
3
behavior of as.integer("5000000000")
...think you mean the "former", a bug. > > and I agree entirely, see the following " 2 x 2 " comparison : > > > N <- 5000000000000 * 8^-(0:7) > > as.integer(N) > [1] NA NA NA NA 1220703125 152587890 19073486 2384185 > Warning message: > NAs introduced by coercion > > as.integer(-N) > [1] NA NA NA NA -1220703125 -152587890 -19073486 > [8] -2384185 > Warning message: > NAs introduced by coercion > > as.integer(as.char...
2015 Apr 14
3
behavior of as.integer("5000000000")
Hi, > as.integer("5000000000") [1] 2147483647 Warning message: inaccurate integer conversion in coercion > as.integer("-5000000000") [1] NA Warning message: inaccurate integer conversion in coercion Is this a bug or a feature? The man page suggests it's the latter: ?as.integer? attempts to coerce its argument to be of integer type.
2015 Apr 17
1
behavior of as.integer("5000000000")
...>>> and I agree entirely, see the following " 2 x 2 " comparison : >>> >>> > N <- 5000000000000 * 8^-(0:7) >>> > as.integer(N) >>> [1] NA NA NA NA 1220703125 152587890 19073486 2384185 >>> Warning message: >>> NAs introduced by coercion >>> > as.integer(-N) >>> [1] NA NA NA NA -1220703125 -152587890 -19073486 >>> [8] -2384185 >>> Warning message: >>...
2015 Apr 17
0
behavior of as.integer("5000000000")
...bug. >> >> and I agree entirely, see the following " 2 x 2 " comparison : >> >> > N <- 5000000000000 * 8^-(0:7) >> > as.integer(N) >> [1] NA NA NA NA 1220703125 152587890 19073486 2384185 >> Warning message: >> NAs introduced by coercion >> > as.integer(-N) >> [1] NA NA NA NA -1220703125 -152587890 -19073486 >> [8] -2384185 >> Warning message: >> NAs introduced by coerc...