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

Phil Steitz resolved MATH-617.
------------------------------

    Resolution: Fixed

Looks great.  The test I was suggesting is what the code is effectively doing 
and with no performance impact, since the formatting is happening anyway.

> "ComplexFormat" when the imaginary part is equal to "1" (as a formatted 
> string)
> -------------------------------------------------------------------------------
>
>                 Key: MATH-617
>                 URL: https://issues.apache.org/jira/browse/MATH-617
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Trivial
>             Fix For: 3.0
>
>
> Currently, for the instance 
> {code}
> Complex(1, 1)
> {code}
> the "format" method in "ComplexFormat" outputs
> {noformat}
> 1 + 1i
> {noformat} 
> Shall I modify the code so that it will output a nicer
> {noformat}
> 1 + i
> {noformat}
> instead?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to