You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/11/23 19:02:15 UTC

DO NOT REPLY [Bug 37086] - [math] Complex arithmetic operations do not conform to C99x Annex G

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37086>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37086


phil@steitz.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From phil@steitz.com  2005-11-23 19:02 -------
Current behavior has been documented.  No attempt has been made to implement
C99x Annex G for the following reasons:

1. Spec is not publicly available and we have not been able to get
   permission to quote from the spec in javadoc or to share the spec
   with the development community.

2. Spec is for the C language and Annex G is still not normative.

3. Following the spec complicates and has performance impacts on
   implementations.

4. Following the spec introduces semantic incompatibility with
   version 1.0 of commons-math.

The user guide and javadoc have been updated to reflect the following principles:

* Operations invoked on arguments having any NaN parts always result in
  Complex.NaN returned;
* Infinite values are handled according to the rules for java.lang.Double
  arithmetic, resulting in NaN or infinities returned in parts of Complex
  results per the computational formulas provided in the method javadoc.

So...for now closing as WONTFIX.  

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org