- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NAN (0.14 sec)
-
guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMapping_nanY1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NaN)); } public void testMappingAnd_nanX2() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NaN, 7.8)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LinearTransformationTest.java
} public void testMapping_nanY1() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NaN)); } public void testMappingAnd_nanX2() { assertThrows( IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, 3.4).and(Double.NaN, 7.8)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
fail(); } catch (IllegalArgumentException expected) { } } public void testCheckNonNegative_nanFloat() { try { MathPreconditions.checkNonNegative("float", Float.NaN); fail(); } catch (IllegalArgumentException expected) { } } public void testCheckNonNegative_zeroDouble() { MathPreconditions.checkNonNegative("double", 0d); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
assertEquals(0.0, DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)); assertThrows(IllegalArgumentException.class, () -> DoubleUtils.ensureNonNegative(Double.NaN)); } public void testOneBits() { assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0)); } private static void failFormat(String template, Object... args) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
-0.0, +0.0, Double.MIN_VALUE, 1.0, Math.PI, (double) Integer.MAX_VALUE, (double) Long.MAX_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN, Float.MAX_VALUE, }; /** The notion of equality used by AtomicDouble */ static boolean bitEquals(double x, double y) { return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
} return x; } @CanIgnoreReturnValue static double checkNonNegative(String role, double x) { if (!(x >= 0)) { // not x < 0, to work with NaN. throw new IllegalArgumentException(role + " (" + x + ") must be >= 0"); } return x; } static void checkRoundingUnnecessary(boolean condition) { if (!condition) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
fail(); } catch (IllegalArgumentException expected) { } } public void testCheckNonNegative_nanFloat() { try { MathPreconditions.checkNonNegative("float", Float.NaN); fail(); } catch (IllegalArgumentException expected) { } } public void testCheckNonNegative_zeroDouble() { MathPreconditions.checkNonNegative("double", 0d); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
assertEquals(0.0, DoubleUtils.ensureNonNegative(Double.NEGATIVE_INFINITY)); assertThrows(IllegalArgumentException.class, () -> DoubleUtils.ensureNonNegative(Double.NaN)); } public void testOneBits() { assertEquals(DoubleUtils.ONE_BITS, Double.doubleToRawLongBits(1.0)); } private static void failFormat(String template, Object... args) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.9K bytes - Viewed (0)