- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for randomPositiveDouble (0.07 sec)
-
android/guava-tests/benchmark/com/google/common/math/DoubleMathBenchmark.java
import static com.google.common.math.MathBenchmarking.RANDOM_SOURCE; import static com.google.common.math.MathBenchmarking.randomDouble; import static com.google.common.math.MathBenchmarking.randomPositiveDouble; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import org.jspecify.annotations.NullUnmarked; /** * Tests for the non-rounding methods of {@code DoubleMath}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; import static com.google.common.math.MathBenchmarking.randomDouble; import static com.google.common.math.MathBenchmarking.randomPositiveDouble; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java
import static com.google.common.math.MathBenchmarking.ARRAY_SIZE; import static com.google.common.math.MathBenchmarking.randomDouble; import static com.google.common.math.MathBenchmarking.randomPositiveDouble; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.math.RoundingMode; import org.jspecify.annotations.NullUnmarked; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathBenchmarking.java
} /** Returns a random integer between zero and {@code MAX_EXPONENT}. */ static int randomExponent() { return RANDOM_SOURCE.nextInt(MAX_EXPONENT + 1); } static double randomPositiveDouble() { return Math.exp(randomDouble(6)); } private MathBenchmarking() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathBenchmarking.java
} /** Returns a random integer between zero and {@code MAX_EXPONENT}. */ static int randomExponent() { return RANDOM_SOURCE.nextInt(MAX_EXPONENT + 1); } static double randomPositiveDouble() { return Math.exp(randomDouble(6)); } private MathBenchmarking() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.2K bytes - Viewed (0)