• Forum
  • Lounge
  • Pointless boasting topic (comparing size

 
Pointless boasting topic (comparing sizes)

So, what's the largest number you ever generated in a program? My record so far is 11650 digits. Ok it was just some uni homework I did because I was bored, but it still counts.
Does a huge random binary file count as a number?
I don't know... I guess you could write it down as a number, but it's not really a meaningful number that stands for anything :O
Here is
11650^11650
with at least 4 times as many digits :)

http://vector-partition.jacobs-university.de/vpf/cgi-bin/calculator?textInput=11650%5E11650

btw, my math library is super-slow - we had once a thread about computing factorials, and it did teach me that doing number computations fast is not as easy as it sounds.
[Edit:] the computation above took like 2.434 seconds. I guess a good numerical library would do it in the milliseconds microseconds range. However, my code doesn't use any external libraries, so I wouldn't change it for GMP or anything in the world :)
Last edited on
Topic archived. No new replies allowed.