News for hackers. Stuff that matters.
Re:Fast midpoint between two integers without overflow by brudgers on Wednesday December 07, 2022 @03:03PM (#33899459)
quadrillions

Just to pretend to be an engineer a bit longer, 64 bits still provides a few orders of magnitude of overflow headroom for integer subtraction, addition, and division.

Multiplication is another story and might come up if you’re rolling your own cryptography. But then you have two problems since 64bits isn’t big enough.

Or rather three since you are rolling your own cryptography.

There are no comments on this comment yet.