partial work on ISO C test class

Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/ec66bced
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/ec66bced
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/ec66bced

Branch: refs/heads/master
Commit: ec66bced51bc44a50575584a0b98938730aef417
Parents: 608307b
Author: Eric Barnhill <ericbarnh...@apache.org>
Authored: Sun Apr 23 19:19:57 2017 +0200
Committer: Eric Barnhill <ericbarnh...@apache.org>
Committed: Sun Apr 23 19:19:57 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/commons/numbers/complex/Complex.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/ec66bced/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
----------------------------------------------------------------------
diff --git 
a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
 
b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
index 35f3a26..ccd25d1 100644
--- 
a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
+++ 
b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
@@ -99,6 +99,7 @@ public class Complex implements Serializable  {
      * Returns {@code NaN} if either real or imaginary part is {@code NaN}
      * and {@code Double.POSITIVE_INFINITY} if neither part is {@code NaN},
      * but at least one part is infinite.
+     * This code follows the <a 
href="http://www.iso-9899.info/wiki/The_Standard";>ISO C Standard</a>, Annex G, 
in calculating the returned value (i.e. the hypot(x,y) method)
      *
      * @return the absolute value.
      */

Reply via email to