2525import  static  java .math .RoundingMode .HALF_EVEN ;
2626import  static  java .math .RoundingMode .HALF_UP ;
2727
28- import  com .google .common .annotations .Beta ;
2928import  com .google .common .annotations .GwtCompatible ;
3029import  com .google .common .annotations .GwtIncompatible ;
3130import  com .google .common .annotations .J2ktIncompatible ;
@@ -65,7 +64,6 @@ public final class LongMath {
6564   *     long}, i.e. when {@code x > 2^62} 
6665   * @since 20.0 
6766   */ 
68-   @ Beta 
6967  public  static  long  ceilingPowerOfTwo (long  x ) {
7068    checkPositive ("x" , x );
7169    if  (x  > MAX_SIGNED_POWER_OF_TWO ) {
@@ -81,7 +79,6 @@ public static long ceilingPowerOfTwo(long x) {
8179   * @throws IllegalArgumentException if {@code x <= 0} 
8280   * @since 20.0 
8381   */ 
84-   @ Beta 
8582  public  static  long  floorPowerOfTwo (long  x ) {
8683    checkPositive ("x" , x );
8784
@@ -659,7 +656,6 @@ public static long checkedPow(long b, int k) {
659656   * 
660657   * @since 20.0 
661658   */ 
662-   @ Beta 
663659  @ SuppressWarnings ("ShortCircuitBoolean" )
664660  public  static  long  saturatedAdd (long  a , long  b ) {
665661    long  naiveSum  = a  + b ;
@@ -678,7 +674,6 @@ public static long saturatedAdd(long a, long b) {
678674   * 
679675   * @since 20.0 
680676   */ 
681-   @ Beta 
682677  @ SuppressWarnings ("ShortCircuitBoolean" )
683678  public  static  long  saturatedSubtract (long  a , long  b ) {
684679    long  naiveDifference  = a  - b ;
@@ -697,7 +692,6 @@ public static long saturatedSubtract(long a, long b) {
697692   * 
698693   * @since 20.0 
699694   */ 
700-   @ Beta 
701695  @ SuppressWarnings ("ShortCircuitBoolean" )
702696  public  static  long  saturatedMultiply (long  a , long  b ) {
703697    // see checkedMultiply for explanation 
@@ -728,7 +722,6 @@ public static long saturatedMultiply(long a, long b) {
728722   * 
729723   * @since 20.0 
730724   */ 
731-   @ Beta 
732725  @ SuppressWarnings ("ShortCircuitBoolean" )
733726  public  static  long  saturatedPow (long  b , int  k ) {
734727    checkNonNegative ("exponent" , k );
@@ -1017,7 +1010,6 @@ public static long mean(long x, long y) {
10171010   */ 
10181011  @ J2ktIncompatible 
10191012  @ GwtIncompatible  // TODO 
1020-   @ Beta 
10211013  public  static  boolean  isPrime (long  n ) {
10221014    if  (n  < 2 ) {
10231015      checkNonNegative ("n" , n );
0 commit comments