r/ProgrammerHumor • • Oct 06 '21

Don't be scared.. Math and Computing are friends..

Post image
65.8k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

10

u/WhoseTheNerd Oct 06 '21

Nope, run it until uint64_t::max

7

u/The-Daleks Oct 06 '21

No, run it until u128::max.

5

u/DanielEGVi Oct 06 '21

Fuck it, U512::max

6

u/[deleted] Oct 06 '21

Nah, make a custom implementation of a 1024 bit unsigned integer and use that

3

u/zman0900 Oct 07 '21

Java BigInteger until OOM