Displaying 2 results from an estimated 2 matches for "rzepeda17".
2017 Mar 17
4
Hyperbolic tangent different results on Windows and Mac
Dear all,
We seem to have found a "strange" behaviour in the hyperbolic tangent
function tanh on Windows.
When running tanh(356 + 0i) the Windows result is NaN + 0.i while on Mac
the result is 1 + 0i. It doesn't seem to be a floating point error because
on Mac it is possible to run arbitrarily large numbers (say tanh(
2017 Mar 21
0
Hyperbolic tangent different results on Windows and Mac
>>>>> Rodrigo Zepeda <rzepeda17 at gmail.com>
>>>>> on Fri, 17 Mar 2017 12:56:06 -0600 writes:
> Dear all,
> We seem to have found a "strange" behaviour in the hyperbolic tangent
> function tanh on Windows.
> When running tanh(356 + 0i) the Windows result is NaN + 0.i w...