commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otmar Ertl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1269) FastMath.exp may return NaN for non-NaN arguments
Date Thu, 05 Nov 2015 20:30:27 GMT

    [ https://issues.apache.org/jira/browse/MATH-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992406#comment-14992406
] 

Otmar Ertl commented on MATH-1269:
----------------------------------

fixed
3.6: 8aecb842d32464a98eaab722da84902f8126957b
4.0: a94ff90ab6cd2d92ccb2eb1fd7913b4e5256f02b

> FastMath.exp may return NaN for non-NaN arguments
> -------------------------------------------------
>
>                 Key: MATH-1269
>                 URL: https://issues.apache.org/jira/browse/MATH-1269
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Otmar Ertl
>             Fix For: 4.0, 3.6
>
>         Attachments: MATH-1269-fix-tempC-infinity.patch, MATH-1269.patch, MATH-1269.patch,
MATH-1269_fix_z.patch
>
>
> I have observed that FastMath.exp(709.8125) returns NaN. However, the exponential function
must never return NaN (if the argument is not NaN). The result must always be non-negative
or positive infinity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message