44 views

Set Underflow precision in Mathematica 12 same as version 11.x [duplicate]

It seems like Mathematica version 12 sets arbitrary underflow precision depending on the function, but I would like the underflow precision to be same as what was for previous version of Mathematica ...
2k views

How to flush machine underflows to zero and prevent conversion to arbitrary precision?

I'm working on some pretty intense computation in Mathematica; when my code started running slowly, I tracked the source of the problem to Exp[]. I need to ...
2k views

New General::munfl error and loss of precision

The latest version 11.3.0.0 of Mathematica returns Indeterminate when evaluating Log[Exp[-800.]]. I believe this was not ...
1k views

Function to Expand exponentials

Is there a function similar to PowerExpand which expand exponentials? This would, for example, take Exp[5(a + b)] and ...
206 views

Plotting with Precision

Suppose we plot Plot[Exp[x] Exp[-x], {x, 0, 1000}] This equals $1$, as expected, until around $x = 750$ where the curve drops sharply to $0$. Clearly this is due ...
266 views

How to check for underflow, and find a constant to correct it?

In a programme I'm running, at a certain point there's a multipplication of variables that gives underflow... For example $c=c_1\times c_2$. Is there anyway to check if that multiplication gives ...
361 views

Format Exp[] in output

The output of foo=Exp[x] is formatted automatically as $e^x$. For long expressions it's not as easy to read as Exp[...]. How to format the output so that \$e^{...
275 views

Getting error General::munfl from NonlinearModelFit [duplicate]

I am trying to fit data to a sum of Gaussians. This data is found in a file called lpeff.txt. So I write the following code: ...
86 views

Precision lost on function estimation

I'm trying to plot a function such as: ...
95 views

Dealing with General::munfl errors

Edit: So, while trying to figure out a minimal exmaple, I found out that my main problem was actually unrelated to this and it just happened to be that giant pile of warnings and error messages coming ...