Is this even possible?
Posted: Sun Jan 01, 2017 2:48 am
Rosetta has a challenge for Arbitrary precision integers. http://rosettacode.org/wiki/Arbitrary-p ... (included)
I know that smart BASIC is limited to integers no greater than 2^52 because it uses 64 bits total for number crunching to handle sign, power and mantissa. So the challenge value of 5^4^3^2 is just WAY to big to be calculated precisely.
So my question is, how hard would it be to write a library of functions that could be included in code that would allow for arbitrary precision math functions?
I know that smart BASIC is limited to integers no greater than 2^52 because it uses 64 bits total for number crunching to handle sign, power and mantissa. So the challenge value of 5^4^3^2 is just WAY to big to be calculated precisely.
So my question is, how hard would it be to write a library of functions that could be included in code that would allow for arbitrary precision math functions?