Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad things about your favourite programming language
#21
ZakumSlaYers Wrote:BigInteger, a very slow implementation that handles any amount of huge digit Tongue
actually, biginteger utilizes an array of UINT32's, treating the array as if it was a number in base 2^32 (with each element in the array being a digit). Therefore, BigInteger is limited and can only handle numbers up to (2^32)^(2^32) => 2^(32*(2^32)) => 2^((2^5)*(2^32)) => 2^(2^37)

or in a more human language, BigInteger can only count to 2^137438953472.
Reply
#22
^ Assuming you're actually willing to consume 4 GB of memory to hold... a single integer.
Reply
#23
I wanna do C++ coding, but I can`t find any "getting started" guides anywhere... When I do, they're 1 page long with like 2 lines of code. =(
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)