Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for scalb (0.08 sec)

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

        // Add small multiples of MIN_VALUE and MIN_NORMAL
        for (int scale = 1; scale <= 4; scale++) {
          for (double d : Doubles.asList(Double.MIN_VALUE, Double.MIN_NORMAL)) {
            fractionalBuilder.add(d * scale).add(-d * scale);
          }
        }
        for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) {
          for (int direction : new int[] {1, -1}) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
            double x = Math.scalb(Math.sqrt(2) + 0.001, exp);
            double y = Math.scalb(Math.sqrt(2) - 0.001, exp);
            assertEquals(exp + 1, DoubleMath.log2(x, mode));
            assertEquals(exp, DoubleMath.log2(y, mode));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

       *
       * <p>Zero is treated as having log2 == 0.
       */
      static double randomDouble(int maxExponent) {
        double result = RANDOM_SOURCE.nextDouble();
        result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
        return RANDOM_SOURCE.nextBoolean() ? result : -result;
      }
    
      /** Returns a random integer between zero and {@code MAX_EXPONENT}. */
      static int randomExponent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathBenchmarking.java

       *
       * <p>Zero is treated as having log2 == 0.
       */
      static double randomDouble(int maxExponent) {
        double result = RANDOM_SOURCE.nextDouble();
        result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
        return RANDOM_SOURCE.nextBoolean() ? result : -result;
      }
    
      /** Returns a random integer between zero and {@code MAX_EXPONENT}. */
      static int randomExponent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

       *
       * @param scale the scale for the quantiles to be calculated, i.e. the q of the q-quantiles, which
       *     must be positive
       */
      public static Scale scale(int scale) {
        return new Scale(scale);
      }
    
      /**
       * Describes the point in a fluent API chain where only the scale (i.e. the q in q-quantiles) has
       * been specified.
       *
       * @since 20.0
       */
      public static final class Scale {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/GcFinalization.java

    @NullMarked
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    @NullMarked
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
       * 10 seconds ought to be long enough for any object to be GC'ed and finalized. Unless we have a
       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/resources/fess_label_en.properties

    labels.facet_filetype_perl=Perl
    labels.facet_filetype_php=PHP
    labels.facet_filetype_properties=Properties File
    labels.facet_filetype_python=Python
    labels.facet_filetype_ruby=Ruby
    labels.facet_filetype_scala=Scala
    labels.facet_filetype_shell=Shell Script
    labels.facet_filetype_vb=Visual Basic
    labels.facet_filetype_others=Others
    labels.facet_label_reset=Reset
    labels.searchoptions_all=All
    labels.searchoptions_score=Score
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  9. src/main/resources/fess_label_zh_TW.properties

    labels.facet_filetype_ocaml=OCaml
    labels.facet_filetype_perl=Perl
    labels.facet_filetype_php=PHP
    labels.facet_filetype_properties=屬性檔案
    labels.facet_filetype_python=Python
    labels.facet_filetype_ruby=Ruby
    labels.facet_filetype_scala=Scala
    labels.facet_filetype_shell=Shell腳本
    labels.facet_filetype_vb=Visual Basic
    labels.facet_filetype_others=其他
    labels.facet_label_reset=重置
    labels.searchoptions_all=全部
    labels.searchoptions_score=分數
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 40.7K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_de.properties

    labels.facet_filetype_perl=Perl
    labels.facet_filetype_php=PHP
    labels.facet_filetype_properties=Eigenschaftendatei
    labels.facet_filetype_python=Python
    labels.facet_filetype_ruby=Ruby
    labels.facet_filetype_scala=Scala
    labels.facet_filetype_shell=Shell-Skript
    labels.facet_filetype_vb=Visual Basic
    labels.facet_filetype_others=Andere
    labels.facet_label_reset=Zurücksetzen
    labels.searchoptions_all=Alle
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 43.5K bytes
    - Viewed (1)
Back to top