Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for testLog10TrivialOnPowerOf10 (0.15 seconds)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          assertEquals(BigIntegerMath.log10(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10TrivialOnPowerOf10() {
        BigInteger x = BigInteger.TEN.pow(100);
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(100, BigIntegerMath.log10(x, mode));
        }
      }
    
      @GwtIncompatible // TODO
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

              failFormat("expected log10(%s, UNNECESSARY) = %s; got ArithmeticException", x, floor);
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testLog10TrivialOnPowerOf10() {
        long x = 1000000000000L;
        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertEquals(12, LongMath.log10(x, mode));
        }
      }
    
      @GwtIncompatible // TODO
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/IntMathTest.java

    Vincent Potucek <******@****.***> 1754940519 -0700
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/math/IntMathTest.java

    Vincent Potucek <******@****.***> 1754940519 -0700
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top