[
https://issues.apache.org/jira/browse/MATH-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287408#comment-14287408
]
Thomas Neidhart commented on MATH-1198:
---------------------------------------
This conversion might also trigger the JIT bug:
{code}
int intVal = (int) x;
{code}
Thus I proposed to do the first check with the unchanged double value.
Afterwards we are quite sure that we are not affected by the bug anymore.
> Simplify FastMath exp function
> ------------------------------
>
> Key: MATH-1198
> URL: https://issues.apache.org/jira/browse/MATH-1198
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Sebb
> Attachments: commons-math.patch
>
>
> Patch (to follow) simplifies the exp function and hopefully avoids the Java
> 1.5 JIT bug as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)