You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2009/07/05 15:02:14 UTC

[jira] Resolved: (MATH-276) Calculate isNan and isFinite in Complex constructor

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

Luc Maisonobe resolved MATH-276.
--------------------------------

    Resolution: Fixed

closing the issue as it was solved some weeks ago (2009-06-23), as of r787521 by Phil and Bill

> Calculate isNan and isFinite in Complex constructor
> ---------------------------------------------------
>
>                 Key: MATH-276
>                 URL: https://issues.apache.org/jira/browse/MATH-276
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Mark Anderson
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: Complex.patch
>
>
> From profiling some code performing a large number of FFT operations I found that due to isNaN being called as part of complex arithmetic a large proportion of time was spent within isNaN.
> I would propose calculating isNaN and isFinite in the constructor to save calculating these values each time the methods are called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.