Hacker News new | ask | show | jobs
by infogulch 2884 days ago
What is the overflow behavior? If it fails and warns you that some operation overflowed, I don't see an issue.
1 comments

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?