commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37086] - [math] Complex arithmetic operations do not conform to C99x Annex G
Date Fri, 14 Oct 2005 11:30:23 GMT
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





------- Additional Comments From elharo@metalab.unc.edu  2005-10-14 13:30 -------
If the goal of this class is to implement the semantics of the C99 double
_Complex type, then this should be stated explcitly in the JavaDoc.

This is probably a very good goal. The C99 types have been rigorously thought
out, and are relatively well specified. They also give us a good conformance
test for any operations in question: just compare our output to C99.

We just need to be explicit that this is the goal.

On the other hand, the C99 spec is not easily or cheaply available. Cheapest
version I found was about $60 from the British Standards Institute, published by
Wiley. Therefore we shoudl not assume every class user has a copy at their
finger tips. We shoudl reproduce as necessary the semantics in the JavaDoc,
though perhaps indicating that in the event of any conflicts between the JavaDoc
and the C99 spec, the C99 spec is normative, unless we explicitly state
itherwise. (I don't know, but there may be places where Java and C diverge
enough that it makes sense for this class not to be in perfect sync.)


-- 
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


Mime
View raw message