- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Truncation (0.04 sec)
-
android/guava/src/com/google/common/hash/BloomFilter.java
*/ @VisibleForTesting static int optimalNumOfHashFunctions(double p) { // -log(p) / log(2), ensuring the result is rounded to avoid truncation. return max(1, (int) Math.round(-Math.log(p) / LOG_TWO)); } /** * Computes m (total bits of Bloom filter) which is expected to achieve, for the specified
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0)