- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for isFinite (0.06 sec)
-
android/guava/src/com/google/common/math/DoubleUtils.java
static long getSignificand(double d) { checkArgument(isFinite(d), "not a normal value"); int exponent = getExponent(d); long bits = doubleToRawLongBits(d); bits &= SIGNIFICAND_MASK; return (exponent == MIN_EXPONENT - 1) ? bits << 1 : bits | IMPLICIT_BIT; } static boolean isFinite(double d) { return getExponent(d) <= MAX_EXPONENT; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
public void add(double value) { if (count == 0) { count = 1; mean = value; min = value; max = value; if (!isFinite(value)) { sumOfSquaresOfDeltas = NaN; } } else { count++; if (isFinite(value) && isFinite(mean)) { // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) and (16) double delta = value - mean; mean += delta / count;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
long count = 1; double mean = values.next().doubleValue(); while (values.hasNext()) { double value = values.next().doubleValue(); count++; if (isFinite(value) && isFinite(mean)) { // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15) mean += (value - mean) / count; } else { mean = calculateNewMeanNonFinite(mean, value); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStatsAccumulator.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/math/DoubleUtils.java
static long getSignificand(double d) { checkArgument(isFinite(d), "not a normal value"); int exponent = getExponent(d); long bits = doubleToRawLongBits(d); bits &= SIGNIFICAND_MASK; return (exponent == MIN_EXPONENT - 1) ? bits << 1 : bits | IMPLICIT_BIT; } static boolean isFinite(double d) { return getExponent(d) <= MAX_EXPONENT; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
} if (!docMap.containsKey(Constants.SCORE)) { final float score = searchHit.getScore(); if (Float.isFinite(score)) { docMap.put(Constants.SCORE, score); } } if (!docMap.containsKey(fessConfig.getIndexFieldId())) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
} if (!docMap.containsKey(Constants.SCORE)) { final float score = hit.getScore(); if (Float.isFinite(score)) { docMap.put(Constants.SCORE, score); } } docMap.put(fessConfig.getIndexFieldId(), hit.getId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* necessarily implemented as, {@code !(Float.isInfinite(value) || Float.isNaN(value))}. * * <p><b>Java 8+ users:</b> use {@link Float#isFinite(float)} instead. * * @since 10.0 */ public static boolean isFinite(float value) { return NEGATIVE_INFINITY < value && value < POSITIVE_INFINITY; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Doubles.java
* necessarily implemented as, {@code !(Double.isInfinite(value) || Double.isNaN(value))}. * * <p><b>Java 8+ users:</b> use {@link Double#isFinite(double)} instead. * * @since 10.0 */ public static boolean isFinite(double value) { return NEGATIVE_INFINITY < value && value < POSITIVE_INFINITY; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 27.9K bytes - Viewed (0)