Closed chlorenz closed 8 years ago
For integers bigger than 2^53 as.numeric() generally loses precision: http://stackoverflow.com/questions/1848700/biggest-integer-that-can-be-stored-in-a-double E.g. users <- "9007199254740993" # 2^53+1 Then !is.na(numUsers) is TRUE but users also appears in setdiff(users, uids), because numUsers != users.
For integers bigger than 2^53 as.numeric() generally loses precision: http://stackoverflow.com/questions/1848700/biggest-integer-that-can-be-stored-in-a-double E.g. users <- "9007199254740993" # 2^53+1 Then !is.na(numUsers) is TRUE but users also appears in setdiff(users, uids), because numUsers != users.