I have some function $f(x)$ I wish to evaluate, which is yielding divide-by-zero errors for sufficiently large inputs. How do I increase the precision with which this function is evaluated in order to prevent this? Can I do this while also plotting the function?
Straight from the Mathematica documentation of
As mentioned in the comment of your question, those related questions has got tons of tricks about precision management in Mathematica. I should be a bit more explanatory with my answer here.
Lets evaluate this code.
the above result comes with a error as the logical positivity test fails.
Now an easy solution here will be to extend Mathematica's precision using the key
One needs to be clear with the expression
You can use the block construct as above to define your function that require extra precision.