> How can I validate if computing 2^500 is safe without, you know, asking the 
> computer to compute 2^500 and dealing with the overflow?

Is there some way to check the hardware capabilities? I'm sorry if this is a 
dumb question, but C (for instance) will tell you what the max integer is, and 
it ought to be easy to work out from that whether 2^500 is safe. I imagine Nim 
will do the same but it's been a while since I looked at this.

Reply via email to