1
$\begingroup$

Imagine I had to use numbers with a 600 precision digits. Do all mathematical operations, like +,-,Times et cetera preserve precision digits?

$\endgroup$
  • $\begingroup$ Does that include things like Sin, Exp, and other mathematical expressions? $\endgroup$ – Sjoerd C. de Vries Dec 24 '14 at 12:09
  • $\begingroup$ @SjoerdC.deVries Yes, Exp, ^, /, etc. The most usual ones $\endgroup$ – An old man in the sea. Dec 24 '14 at 12:33
  • 1
    $\begingroup$ It depends on the magnitude of the numbers and what you mean by "preserve". For example, adding 1.`600 to 10.`600^601 obviously loses all of the 600 digits of precision of the 1. $\endgroup$ – Oleksandr R. Dec 24 '14 at 13:51
  • 1
    $\begingroup$ I would say the answer is yes to what I would guess is your question: All the mathematical functions keep track of precision given arbitrary-precision numbers for input. "Preserve" is a confusing term, since in subtracting like-sized numbers, you lose a significant amount of precision, according to how precision is supposed to be calculated (which is what happens in Mathematica). $\endgroup$ – Michael E2 Jan 26 '15 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.