- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 37 for NaN (0.01 sec)
-
android/guava/src/com/google/common/math/LinearTransformation.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
assertWithMessage("" + value) .that(Floats.indexOf(new float[] {5f, value, value, 5f}, new float[] {value, value})) .isEqualTo(1); } assertThat(Floats.indexOf(new float[] {5f, NaN, NaN, 5f}, new float[] {NaN, NaN})) .isEqualTo(-1); } public void testLastIndexOf() { assertThat(Floats.lastIndexOf(EMPTY, 1.0f)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY1, 2.0f)).isEqualTo(-1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
assertWithMessage("" + value) .that(Floats.indexOf(new float[] {5f, value, value, 5f}, new float[] {value, value})) .isEqualTo(1); } assertThat(Floats.indexOf(new float[] {5f, NaN, NaN, 5f}, new float[] {NaN, NaN})) .isEqualTo(-1); } public void testLastIndexOf() { assertThat(Floats.lastIndexOf(EMPTY, 1.0f)).isEqualTo(-1); assertThat(Floats.lastIndexOf(ARRAY1, 2.0f)).isEqualTo(-1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
* * <h3>Non-finite values</h3> * * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}. * * @throws IllegalStateException if the dataset is empty */ public double populationCovariance() { checkState(count() != 0); return sumOfProductsOfDeltas / count(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for * the returned list is unspecified. * * <p>The returned list may have unexpected behavior if it contains {@code NaN}, or if {@code NaN} * is used as a parameter to any of its methods. * * <p>The returned list is serializable. * * @param backingArray the array to back the list * @return a list view of the array */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
.comparingValuesUsing(QUANTILE_CORRESPONDENCE) .containsExactly( 0, NaN, 1, NaN, 2, NaN, 8, NaN, 9, NaN, 10, NaN); } public void testScale_index_compute_doubleCollection_nan() { assertThat(Quantiles.scale(10).index(5).compute(ONE_TO_FIVE_AND_NAN)).isNaN(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
.comparingValuesUsing(QUANTILE_CORRESPONDENCE) .containsExactly( 0, NaN, 1, NaN, 2, NaN, 8, NaN, 9, NaN, 10, NaN); } public void testScale_index_compute_doubleCollection_nan() { assertThat(Quantiles.scale(10).index(5).compute(ONE_TO_FIVE_AND_NAN)).isNaN(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/color.js
b(a)}):"object"==typeof module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("color");var b=function(a){return/^(\-|\+)?([0-9]+(\.[0-9]+)?|Infinity)$/.test(a)?Number(a):NaN},c=function(a){return a>0&&a<1};a.formUtils.addValidator({name:"hex",validatorFunction:function(a,b){if("true"===b.valAttr("allow-transparent")&&"transparent"===a)return!0;var c="#"===a[0];if(!c)return!1;var d=4===a.length||7===a.length;if(d){var e...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray.of(-0.0, 0.0, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN); assertThat(iia.indexOf(-0.0)).isEqualTo(0); assertThat(iia.indexOf(0.0)).isEqualTo(1); assertThat(iia.indexOf(Double.MAX_VALUE)).isEqualTo(2); assertThat(iia.indexOf(Double.POSITIVE_INFINITY)).isEqualTo(3); assertThat(iia.indexOf(Double.NaN)).isEqualTo(4); } public void testLastIndexOf() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/builtin/builtin.go
// If T is a floating-point type and any of the arguments are NaNs, // max will return NaN. func max[T cmp.Ordered](x T, y ...T) T // The min built-in function returns the smallest value of a fixed number of // arguments of [cmp.Ordered] types. There must be at least one argument. // If T is a floating-point type and any of the arguments are NaNs, // min will return NaN. func min[T cmp.Ordered](x T, y ...T) T
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0)