I downloaded GMP and tried to make expr and calc but neither would make because of compiler errors and because the compiler could not find named header files. Then I used the demo and got the results below. You can see that I got the same answer for two different problems. What am I doing wrong? I need GMP because I do NOT want to write my own inf. precision routines. Thank you for your help.
The result of executing sqrt((10^345) +(2^124)) is:
computation took 0.02 ms
output conversion took 0.02 ms
316227766016837933199889354443271853371955513932521682685750
485279259443863923822134424810837930029518734728415284005514
85488560304538800146905195967001539033449216571792599
The result of executing sqrt((10^345) +(12^124)) is:
computation took 0.02 ms
output conversion took 0.02 ms
316227766016837933199889354443271853371955513932521682685750
485279259443863923822134424810837930029518734728415284005514
85488560304538800146905195967001539033449216571792599
Arthur Townsend.
Arthur Townsend,
6532 Blue Ridge Trail,
Plano, TX 75023-3003.