[jira] [Closed] (MATH-935) DerivativeStructure.atan2(y,x) does not handle special cases properly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (MATH-935) DerivativeStructure.atan2(y,x) does not handle special cases properly

AD_LB (Jira)

     [ https://issues.apache.org/jira/browse/MATH-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-935.
------------------------------


Closing issue as version 3.2 has been released on 2013-04-06.
               

> DerivativeStructure.atan2(y,x) does not handle special cases properly
> ---------------------------------------------------------------------
>
>                 Key: MATH-935
>                 URL: https://issues.apache.org/jira/browse/MATH-935
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Luc Maisonobe
>            Priority: Minor
>             Fix For: 3.2
>
>
> The four special cases +/-0 for both x and y should give the same values as Math.atan2 and FastMath.atan2. However, they give NaN for the value in all cases.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira