Serving the Quantitative Finance Community

  • 1
  • 5
  • 6
  • 7
  • 8
  • 9
 
User avatar
Cuchulainn
Posts: 20253
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Large Factorials

February 6th, 2018, 9:02 pm

What do the specs say?  Is there a hidden show-stopper such as a 32-bit "size" variable in the internal data structure of BigInteger?  Does the OS barf if a single object exceeds some number of gigabytes in size?
It has no lower/upper bounds, so only Out of Memory can be thrown.
 
User avatar
Traden4Alpha
Posts: 3300
Joined: September 20th, 2002, 8:30 pm

Re: Large Factorials

February 6th, 2018, 9:28 pm

What do the specs say?  Is there a hidden show-stopper such as a 32-bit "size" variable in the internal data structure of BigInteger?  Does the OS barf if a single object exceeds some number of gigabytes in size?
It has no lower/upper bounds, so only Out of Memory can be thrown.
Interesting...Is BigInteger bounded by RAM or by virtual memory?

And does it truly have no upper bounds (e.g., the internal variable encoding the size of a BigInteger is also a BigInteger) or does it just have yuge bounds (e.g., 64 bit int).
 
User avatar
Collector
Topic Author
Posts: 2572
Joined: August 21st, 2001, 12:37 pm
Contact:

Re: Large Factorials

February 15th, 2018, 5:23 pm

We are waiting on a new Big number here! Need Big time for it also? 

(Time is Money, Big Money = Big Time) 
 
User avatar
Traden4Alpha
Posts: 3300
Joined: September 20th, 2002, 8:30 pm

Re: Large Factorials

February 15th, 2018, 5:47 pm

Why isn't pi a big number? It certainly has a big number of digits, no?

Or maybe you seek Ackermann's function (https://en.wikipedia.org/wiki/Ackermann_function)