Skip to content

Commit 0cc88e4

Browse files
committed
8370028: Remove author tags from mathematical classes
Reviewed-by: bpb, rriggs
1 parent 6cd7f30 commit 0cc88e4

File tree

13 files changed

+2
-47
lines changed

13 files changed

+2
-47
lines changed

src/java.base/share/classes/java/lang/Byte.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
* use instances for synchronization, or unpredictable behavior may
5656
* occur. For example, in a future release, synchronization may fail.
5757
*
58-
* @author Nakul Saraiya
59-
* @author Joseph D. Darcy
6058
* @see java.lang.Number
6159
* @since 1.1
6260
*/

src/java.base/share/classes/java/lang/Double.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,6 @@
352352
* @spec https://standards.ieee.org/ieee/754/6210/
353353
* IEEE Standard for Floating-Point Arithmetic
354354
*
355-
* @author Lee Boynton
356-
* @author Arthur van Hoff
357-
* @author Joseph D. Darcy
358355
* @since 1.0
359356
*/
360357
@jdk.internal.ValueBased
@@ -695,7 +692,6 @@ public static String toString(double d) {
695692
* @param d the {@code double} to be converted.
696693
* @return a hex string representation of the argument.
697694
* @since 1.5
698-
* @author Joseph D. Darcy
699695
*/
700696
public static String toHexString(double d) {
701697
/*

src/java.base/share/classes/java/lang/Float.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@
7070
* @spec https://standards.ieee.org/ieee/754/6210/
7171
* IEEE Standard for Floating-Point Arithmetic
7272
*
73-
* @author Lee Boynton
74-
* @author Arthur van Hoff
75-
* @author Joseph D. Darcy
7673
* @since 1.0
7774
*/
7875
@jdk.internal.ValueBased
@@ -411,7 +408,6 @@ public static String toString(float f) {
411408
* @param f the {@code float} to be converted.
412409
* @return a hex string representation of the argument.
413410
* @since 1.5
414-
* @author Joseph D. Darcy
415411
*/
416412
public static String toHexString(float f) {
417413
if (Math.abs(f) < Float.MIN_NORMAL

src/java.base/share/classes/java/lang/Integer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@
6868
* Delight</cite>, (Addison Wesley, 2002) and <cite>Hacker's
6969
* Delight, Second Edition</cite>, (Pearson Education, 2013).
7070
*
71-
* @author Lee Boynton
72-
* @author Arthur van Hoff
73-
* @author Josh Bloch
74-
* @author Joseph D. Darcy
7571
* @since 1.0
7672
*/
7773
@jdk.internal.ValueBased

src/java.base/share/classes/java/lang/Long.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@
6868
* Delight</cite>, (Addison Wesley, 2002) and <cite>Hacker's
6969
* Delight, Second Edition</cite>, (Pearson Education, 2013).
7070
*
71-
* @author Lee Boynton
72-
* @author Arthur van Hoff
73-
* @author Josh Bloch
74-
* @author Joseph D. Darcy
7571
* @since 1.0
7672
*/
7773
@jdk.internal.ValueBased

src/java.base/share/classes/java/lang/Math.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2529,7 +2529,6 @@ public static float fma(float a, float b, float c) {
25292529
*
25302530
* @param d the floating-point value whose ulp is to be returned
25312531
* @return the size of an ulp of the argument
2532-
* @author Joseph D. Darcy
25332532
* @since 1.5
25342533
*/
25352534
public static double ulp(double d) {
@@ -2576,7 +2575,6 @@ public static double ulp(double d) {
25762575
*
25772576
* @param f the floating-point value whose ulp is to be returned
25782577
* @return the size of an ulp of the argument
2579-
* @author Joseph D. Darcy
25802578
* @since 1.5
25812579
*/
25822580
public static float ulp(float f) {
@@ -2617,7 +2615,6 @@ public static float ulp(float f) {
26172615
*
26182616
* @param d the floating-point value whose signum is to be returned
26192617
* @return the signum function of the argument
2620-
* @author Joseph D. Darcy
26212618
* @since 1.5
26222619
*/
26232620
@IntrinsicCandidate
@@ -2639,7 +2636,6 @@ public static double signum(double d) {
26392636
*
26402637
* @param f the floating-point value whose signum is to be returned
26412638
* @return the signum function of the argument
2642-
* @author Joseph D. Darcy
26432639
* @since 1.5
26442640
*/
26452641
@IntrinsicCandidate

src/java.base/share/classes/java/lang/Short.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
* use instances for synchronization, or unpredictable behavior may
5656
* occur. For example, in a future release, synchronization may fail.
5757
*
58-
* @author Nakul Saraiya
59-
* @author Joseph D. Darcy
6058
* @see java.lang.Number
6159
* @since 1.1
6260
*/

src/java.base/share/classes/java/lang/StrictMath.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
* @spec https://standards.ieee.org/ieee/754/6210/
102102
* IEEE Standard for Floating-Point Arithmetic
103103
*
104-
* @author Joseph D. Darcy
105104
* @since 1.3
106105
*/
107106
public final class StrictMath {
@@ -493,7 +492,6 @@ private static double floorOrCeil(double a,
493492
* @param a a value.
494493
* @return the closest floating-point value to {@code a} that is
495494
* equal to a mathematical integer.
496-
* @author Joseph D. Darcy
497495
*/
498496
public static double rint(double a) {
499497
/*
@@ -2014,7 +2012,6 @@ public static float fma(float a, float b, float c) {
20142012
*
20152013
* @param d the floating-point value whose ulp is to be returned
20162014
* @return the size of an ulp of the argument
2017-
* @author Joseph D. Darcy
20182015
* @since 1.5
20192016
*/
20202017
public static double ulp(double d) {
@@ -2041,7 +2038,6 @@ public static double ulp(double d) {
20412038
*
20422039
* @param f the floating-point value whose ulp is to be returned
20432040
* @return the size of an ulp of the argument
2044-
* @author Joseph D. Darcy
20452041
* @since 1.5
20462042
*/
20472043
public static float ulp(float f) {
@@ -2062,7 +2058,6 @@ public static float ulp(float f) {
20622058
*
20632059
* @param d the floating-point value whose signum is to be returned
20642060
* @return the signum function of the argument
2065-
* @author Joseph D. Darcy
20662061
* @since 1.5
20672062
*/
20682063
public static double signum(double d) {
@@ -2083,7 +2078,6 @@ public static double signum(double d) {
20832078
*
20842079
* @param f the floating-point value whose signum is to be returned
20852080
* @return the signum function of the argument
2086-
* @author Joseph D. Darcy
20872081
* @since 1.5
20882082
*/
20892083
public static float signum(float f) {

src/java.base/share/classes/java/math/BigDecimal.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,6 @@
327327
* @spec https://standards.ieee.org/ieee/754/6210/
328328
* IEEE Standard for Floating-Point Arithmetic
329329
*
330-
* @author Josh Bloch
331-
* @author Mike Cowlishaw
332-
* @author Joseph D. Darcy
333-
* @author Sergey V. Kuksenko
334330
* @since 1.1
335331
*/
336332
public class BigDecimal extends Number implements Comparable<BigDecimal> {
@@ -1779,7 +1775,6 @@ public BigDecimal divide(BigDecimal divisor, RoundingMode roundingMode) {
17791775
* terminating decimal expansion, including dividing by zero
17801776
* @return {@code this / divisor}
17811777
* @since 1.5
1782-
* @author Joseph D. Darcy
17831778
*/
17841779
public BigDecimal divide(BigDecimal divisor) {
17851780
/*
@@ -1948,7 +1943,6 @@ public BigDecimal divideToIntegralValue(BigDecimal divisor) {
19481943
* @throws ArithmeticException if {@code mc.precision} {@literal >} 0 and the result
19491944
* requires a precision of more than {@code mc.precision} digits.
19501945
* @since 1.5
1951-
* @author Joseph D. Darcy
19521946
*/
19531947
public BigDecimal divideToIntegralValue(BigDecimal divisor, MathContext mc) {
19541948
if (mc.precision == 0 || // exact result

src/java.base/share/classes/java/math/MathContext.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
* @spec https://standards.ieee.org/ieee/754/6210/
5252
* IEEE Standard for Floating-Point Arithmetic
5353
*
54-
* @author Mike Cowlishaw
55-
* @author Joseph D. Darcy
5654
* @since 1.5
5755
*/
5856

0 commit comments

Comments
 (0)