summaryrefslogtreecommitdiff
path: root/absl/base/internal/exponential_biased.h
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2019-11-25 10:40:20 -0800
committerGravatar Gennadiy Rozental <rogeeff@google.com>2019-11-25 14:57:06 -0500
commit7f4fe64af80fe3c84db8ea938276c3690573c45e (patch)
tree8a88ab00a8c2210edd1be109ec00a83586ad03c1 /absl/base/internal/exponential_biased.h
parent16d9fd58a51c6083234e2e9f8f50e49ed5ed02e4 (diff)
Export of internal Abseil changes
-- 44efc1bb0e0a47eabf0569eaab81c66710d5b9c3 by Mark Barolak <mbar@google.com>: Update "strings::Substitute" to "absl::Substitute" in the absl::Substitute error messages. PiperOrigin-RevId: 282388042 -- 9ec7e9385f5469473f76857dc5b067d869bbc65b by Abseil Team <absl-team@google.com>: Remove deprecated ExponentialBiased::Get() PiperOrigin-RevId: 282045123 GitOrigin-RevId: 44efc1bb0e0a47eabf0569eaab81c66710d5b9c3 Change-Id: I915bf0ff5fa7ac2bd5f9fb653d1fbd9ece6af9fc
Diffstat (limited to 'absl/base/internal/exponential_biased.h')
-rw-r--r--absl/base/internal/exponential_biased.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/absl/base/internal/exponential_biased.h b/absl/base/internal/exponential_biased.h
index 571505d3..6701e695 100644
--- a/absl/base/internal/exponential_biased.h
+++ b/absl/base/internal/exponential_biased.h
@@ -96,12 +96,6 @@ class ExponentialBiased {
// `GetSkipCount()` depends mostly on what best fits the use case.
int64_t GetStride(int64_t mean);
- // Generates a rounded exponentially distributed random variable
- // by rounding the value to the nearest integer.
- // The result will be in the range [0, int64_t max / 2].
- ABSL_DEPRECATED("Use GetSkipCount() or GetStride() instead")
- int64_t Get(int64_t mean);
-
// Computes a random number in the range [0, 1<<(kPrngNumBits+1) - 1]
//
// This is public to enable testing.