Hacker News new | ask | show | jobs
by z2210558 2884 days ago
I think bit64 gives integer64, but like you I never need large integers - I don't do general purpose programming in R.
1 comments

What is the overflow behavior? If it fails and warns you that some operation overflowed, I don't see an issue.
It 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.

Oh. 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?