jdk/src/share/classes/java/lang/StrictMath.java
changeset 14014 da3648e13e67
parent 11905 646e7e50c2d7
child 14342 8435a30053c1
--- a/jdk/src/share/classes/java/lang/StrictMath.java	Sat Sep 29 15:44:06 2012 +0400
+++ b/jdk/src/share/classes/java/lang/StrictMath.java	Mon Oct 01 15:36:57 2012 +0100
@@ -365,7 +365,7 @@
      * @param a the value to be floored or ceiled
      * @param negativeBoundary result for values in (-1, 0)
      * @param positiveBoundary result for values in (0, 1)
-     * @param increment value to add when the argument is non-integral
+     * @param sign the sign of the result
      */
     private static double floorOrCeil(double a,
                                       double negativeBoundary,
@@ -811,7 +811,7 @@
      * @param value the long value
      * @return the argument as an int
      * @throws ArithmeticException if the {@code argument} overflows an int
-     * @see Math#toIntExact(int)
+     * @see Math#toIntExact(long)
      * @since 1.8
      */
     public static int toIntExact(long value) {