You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2009/05/24 08:11:01 UTC
svn commit: r778092 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java
Author: psteitz
Date: Sun May 24 06:11:01 2009
New Revision: 778092
URL: http://svn.apache.org/viewvc?rev=778092&view=rev
Log:
added missing since tags.
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java?rev=778092&r1=778091&r2=778092&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/special/Gamma.java Sun May 24 06:11:01 2009
@@ -33,7 +33,10 @@
/** Serializable version identifier */
private static final long serialVersionUID = -6587513359895466954L;
- /** <a href="http://en.wikipedia.org/wiki/Euler-Mascheroni_constant">Euler-Mascheroni constant</a> */
+ /**
+ * <a href="http://en.wikipedia.org/wiki/Euler-Mascheroni_constant">Euler-Mascheroni constant</a>
+ * @since 2.0
+ */
public static final double GAMMA = 0.577215664901532860606512090082;
/** Maximum allowed numerical error. */
@@ -284,8 +287,10 @@
* <p> Performance for large negative values of x will be quite expensive (proportional to
* |x|). Accuracy for negative values of x should be about 10^-8 absolute for results
* less than 10^5 and 10^-8 relative for results larger than that.
+ *
* @param x argument
* @return value of the digamma function
+ * @since 2.0
*/
public static double digamma(double x) {
if (x > 0 && x <= S_LIMIT) {