50 digits precision handheld calculator is it achievable or not?

01262014, 06:14 AM
Post: #22




RE: 50 digits precision handheld calculator is it achievable or not?
(01172014 10:53 AM)JeanMarc Wrote: This is a hypothetical question. Can a 50 digits precision handheld calculator be achievable with today's technology? I am not a programmer. I was just curious to know the numerous hurdles to accomplish such a task. It would be quite straightforward, There are readily available free optimized arbitrary precision libraries out there, and it wouldn't be much work to port them to the modern ARM CPUs used in calculators. http://en.wikipedia.org/wiki/Arbitraryp...arithmetic GMP is the most common one and would optimize very well on ARM, multiprecision arithmetic is common enough CPUs have instructions that lend themselves to it. https://gmplib.org/ In fact, every unix (or derivative such as linux) system comes with an RPN arbitrary precision calculator called 'dc' originally written in 1965! It is quite likely one of the oldest computer programs still used regularly basically unchanged from when it was introduced (other than porting it to newer machines, and languages, it predates the C language even). ; echo "2 222 ^ p"  dc 6739986666787659948666753771754907668409286105635143120275902562304 (^ is exponent, p means print the top of the stack) John 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)