Some more strange things: > 2000000000L+200000000L [1] -2094967296 > 2000000000L*2L [1] NA > 2147483647L+2147483647L [1] -2
(2147483647 = 2^31-1) So this looks like an integer overflow is not caught for addition, but it is for multiplication This is my R version: > sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-apple-darwin13.1.0 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
