3 ms·
I think bit64 gives integer64, but like you I never need large integers - I don't do general purpose programming in R.
by z2210558 8y ago
I think bit64 gives integer64, but like you I never need large integers - I don't do general purpose programming in R.
- infogulch 8y agoWhat is the overflow behavior? If it fails and warns you that some operation overflowed, I don't see an issue.
- disgruntledphd2 8y agoIt converts really large integers to floats, which can lose precision. You need to handle really large numbers as characters, or use bit64. I only really started hitting this in the private sector though, never a problem when I was in academia.
- infogulch 8y agoOh. That's kindof... gross. Better than wrapping silently I guess. Can you at least tell when a number has been 'promoted' to a float so you know you need a bigger type?