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?
Is this even possible?
- sarossell
- Posts: 195
- Joined: Sat Nov 05, 2016 6:31 pm
- My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
- Flag:
- Contact:
Is this even possible?
smart BASIC Rocks!
- Scott : San Diego, California
- Scott : San Diego, California