Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testLog10MatchesBigInteger (0.6 sec)

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

          }
        }
      }
    
      // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY.
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testLog10MatchesBigInteger() {
        for (int x : POSITIVE_INTEGER_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            // The BigInteger implementation is tested separately, use it as the reference.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LongMathTest.java

            }
          }
        }
      }
    
      // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY.
      @GwtIncompatible // TODO
      public void testLog10MatchesBigInteger() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode));
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

            }
          }
        }
      }
    
      // Relies on the correctness of BigIntegerMath.log10 for all modes except UNNECESSARY.
      @GwtIncompatible // TODO
      public void testLog10MatchesBigInteger() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode));
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top