aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/java/math
diff options
context:
space:
mode:
authorjjh <none@none>2011-04-13 12:16:13 -0700
committerjjh <none@none>2011-04-13 12:16:13 -0700
commite694ee35dc03191c761fe6c2853a094c2604a6bb (patch)
tree45ebf3e5d14115677c3a0fe8c4ec6054dc9dced6 /src/share/classes/java/math
parenta2d48c7c211d959177457e22fb55933839c5c2b9 (diff)
downloadjdk8u_jdk-e694ee35dc03191c761fe6c2853a094c2604a6bb.tar.gz
7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks 7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks 7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks 7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks 7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks 7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks 7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks 7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks Summary: Removed URLs and 'edition' references Reviewed-by: darcy
Diffstat (limited to 'src/share/classes/java/math')
-rw-r--r--src/share/classes/java/math/BigDecimal.java59
-rw-r--r--src/share/classes/java/math/BigInteger.java44
2 files changed, 47 insertions, 56 deletions
diff --git a/src/share/classes/java/math/BigDecimal.java b/src/share/classes/java/math/BigDecimal.java
index 0d695f3bda..0549890f12 100644
--- a/src/share/classes/java/math/BigDecimal.java
+++ b/src/share/classes/java/math/BigDecimal.java
@@ -2905,12 +2905,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/**
* Converts this {@code BigDecimal} to a {@code BigInteger}.
- * This conversion is analogous to a <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code long} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: any fractional part of this
+ * This conversion is analogous to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code long} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * any fractional part of this
* {@code BigDecimal} will be discarded. Note that this
* conversion can lose information about the precision of the
* {@code BigDecimal} value.
@@ -2942,13 +2941,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
}
/**
- * Converts this {@code BigDecimal} to a {@code long}. This
- * conversion is analogous to a <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code short} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: any fractional part of this
+ * Converts this {@code BigDecimal} to a {@code long}.
+ * This conversion is analogous to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code short} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * any fractional part of this
* {@code BigDecimal} will be discarded, and if the resulting
* "{@code BigInteger}" is too big to fit in a
* {@code long}, only the low-order 64 bits are returned.
@@ -3011,13 +3009,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
}
/**
- * Converts this {@code BigDecimal} to an {@code int}. This
- * conversion is analogous to a <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code short} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: any fractional part of this
+ * Converts this {@code BigDecimal} to an {@code int}.
+ * This conversion is analogous to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code short} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * any fractional part of this
* {@code BigDecimal} will be discarded, and if the resulting
* "{@code BigInteger}" is too big to fit in an
* {@code int}, only the low-order 32 bits are returned.
@@ -3095,12 +3092,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/**
* Converts this {@code BigDecimal} to a {@code float}.
- * This conversion is similar to the <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code float} defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this {@code BigDecimal} has too great a
+ * This conversion is similar to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code float} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this {@code BigDecimal} has too great a
* magnitude to represent as a {@code float}, it will be
* converted to {@link Float#NEGATIVE_INFINITY} or {@link
* Float#POSITIVE_INFINITY} as appropriate. Note that even when
@@ -3119,12 +3115,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/**
* Converts this {@code BigDecimal} to a {@code double}.
- * This conversion is similar to the <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code float} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this {@code BigDecimal} has too great a
+ * This conversion is similar to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code float} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this {@code BigDecimal} has too great a
* magnitude represent as a {@code double}, it will be
* converted to {@link Double#NEGATIVE_INFINITY} or {@link
* Double#POSITIVE_INFINITY} as appropriate. Note that even when
diff --git a/src/share/classes/java/math/BigInteger.java b/src/share/classes/java/math/BigInteger.java
index 589b1b2ebc..4fcce199de 100644
--- a/src/share/classes/java/math/BigInteger.java
+++ b/src/share/classes/java/math/BigInteger.java
@@ -2719,12 +2719,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/**
* Converts this BigInteger to an {@code int}. This
- * conversion is analogous to a <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code long} to
- * {@code int} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this BigInteger is too big to fit in an
+ * conversion is analogous to a
+ * <i>narrowing primitive conversion</i> from {@code long} to
+ * {@code int} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this BigInteger is too big to fit in an
* {@code int}, only the low-order 32 bits are returned.
* Note that this conversion can lose information about the
* overall magnitude of the BigInteger value as well as return a
@@ -2740,12 +2739,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/**
* Converts this BigInteger to a {@code long}. This
- * conversion is analogous to a <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code long} to
- * {@code int} as defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this BigInteger is too big to fit in a
+ * conversion is analogous to a
+ * <i>narrowing primitive conversion</i> from {@code long} to
+ * {@code int} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this BigInteger is too big to fit in a
* {@code long}, only the low-order 64 bits are returned.
* Note that this conversion can lose information about the
* overall magnitude of the BigInteger value as well as return a
@@ -2763,12 +2761,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/**
* Converts this BigInteger to a {@code float}. This
- * conversion is similar to the <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code float} defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this BigInteger has too great a magnitude
+ * conversion is similar to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code float} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this BigInteger has too great a magnitude
* to represent as a {@code float}, it will be converted to
* {@link Float#NEGATIVE_INFINITY} or {@link
* Float#POSITIVE_INFINITY} as appropriate. Note that even when
@@ -2784,12 +2781,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/**
* Converts this BigInteger to a {@code double}. This
- * conversion is similar to the <a
- * href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing
- * primitive conversion</i></a> from {@code double} to
- * {@code float} defined in the <a
- * href="http://java.sun.com/docs/books/jls/html/">Java Language
- * Specification</a>: if this BigInteger has too great a magnitude
+ * conversion is similar to the
+ * <i>narrowing primitive conversion</i> from {@code double} to
+ * {@code float} as defined in section 5.1.3 of
+ * <cite>The Java&trade; Language Specification</cite>:
+ * if this BigInteger has too great a magnitude
* to represent as a {@code double}, it will be converted to
* {@link Double#NEGATIVE_INFINITY} or {@link
* Double#POSITIVE_INFINITY} as appropriate. Note that even when