Fix javadoc issues - had to use CSS to simulate nested <sup> tags

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

Branch: refs/heads/master
Commit: a5b47638d4862d73115de0660f1b968f5c603e7e
Parents: d06517a
Author: Ray DeCampo <r...@decampo.org>
Authored: Sat May 13 09:52:59 2017 -0400
Committer: Ray DeCampo <r...@decampo.org>
Committed: Sat May 13 09:52:59 2017 -0400

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math4/special/Beta.java | 3 +--
 src/main/java/org/apache/commons/math4/special/Erf.java  | 4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/a5b47638/src/main/java/org/apache/commons/math4/special/Beta.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/special/Beta.java 
b/src/main/java/org/apache/commons/math4/special/Beta.java
index bfcf818..9e40cd8 100644
--- a/src/main/java/org/apache/commons/math4/special/Beta.java
+++ b/src/main/java/org/apache/commons/math4/special/Beta.java
@@ -46,7 +46,6 @@ import org.apache.commons.math4.util.FastMath;
  * indicates that unless otherwise stated in the code, all FORTRAN functions in
  * this library are license free. Since no such notice appears in the code 
these
  * functions can safely be ported to Commons-Math.
- * </p>
  */
 public class Beta {
     /** Maximum allowed numerical error. */
@@ -379,7 +378,7 @@ public class Beta {
     }
 
     /**
-     * Returns the value of log B(p, q) for 0 ≤ x ≤ 1 and p, q > 0. Based 
on the
+     * Returns the value of {@code log B(p, q)} for {@code 0 ≤ x ≤ 1} and 
{@code p, q > 0}. Based on the
      * <em>NSWC Library of Mathematics Subroutines</em> implementation,
      * {@code DBETLN}.
      *

http://git-wip-us.apache.org/repos/asf/commons-math/blob/a5b47638/src/main/java/org/apache/commons/math4/special/Erf.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/special/Erf.java 
b/src/main/java/org/apache/commons/math4/special/Erf.java
index c0c4ce0..14aede7 100644
--- a/src/main/java/org/apache/commons/math4/special/Erf.java
+++ b/src/main/java/org/apache/commons/math4/special/Erf.java
@@ -45,7 +45,7 @@ public class Erf {
     /**
      * Returns the error function.
      *
-     * <p>erf(x) = 2/&radic;&pi; <sub>0</sub>&int;<sup>x</sup> 
e<sup>-t<sup>2</sup></sup>dt </p>
+     * <p>erf(x) = 2/&radic;&pi; <sub>0</sub>&int;<sup>x</sup> e<sup>-t<span 
style="position: relative; top: -.5em">2</span></sup>dt </p>
      *
      * <p>This implementation computes erf(x) using the
      * {@link Gamma#regularizedGammaP(double, double, double, int) regularized 
gamma function},
@@ -73,7 +73,7 @@ public class Erf {
     /**
      * Returns the complementary error function.
      *
-     * <p>erfc(x) = 2/&radic;&pi; <sub>x</sub>&int;<sup>&infin;</sup> 
e<sup>-t<sup>2</sup></sup>dt
+     * <p>erfc(x) = 2/&radic;&pi; <sub>x</sub>&int;<sup>&infin;</sup> 
e<sup>-t<span style="position: relative; top: -.5em">2</span></sup>dt
      * <br>
      *    = 1 - {@link #erf(double) erf(x)} </p>
      *

Reply via email to