Linked Questions

2
votes
0answers
42 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 ...
35
votes
3answers
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 ...
17
votes
2answers
1k 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 ...
2
votes
3answers
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 ...
2
votes
3answers
162 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 ...
2
votes
2answers
191 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 ...
2
votes
1answer
292 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^{...
1
vote
2answers
192 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: ...
2
votes
2answers
76 views

Precision lost on function estimation

I'm trying to plot a function such as: ...
0
votes
0answers
71 views

Numerical calculation Mathematica 11.2 / 11.3 / 12 [duplicate]

Please I do not understand why Mathematica 11.2 version evaluates numerically the value below Exp[-800]//N (* 3.667874584178*10^-348 *) while 11.3 and 12 ...
0
votes
0answers
51 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 ...