Answer» Hey,
I am trying to store permutations (huge) in an int and it limits itself so i was HOPING there was another way of doing this.
for INSTANCE if i want to store a value > 4,294,967,295 in an unsigned int it doesnt work when going past that value
so i moved up to unsigned _int64 which allows 18,446,744,073,709,551,615 but as you may know with permutations you can really have limits if your trying to reach a PERFECT program.
for those that dont know permutations = pow(n, r) and when your working with things like 13 to the power of 300 = error on all calculators + comps ive tried it on.
so pretty much IM trying to store a value in an int that has an UNLIMITED size, any ideas?
Thanks in advance https://mattmccutchen.net/bigint/OMG, BC this is excatly what i was looking for! thank you soooo much
|