Home
last modified time | relevance | path

Searched refs:isNaN (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java178 public void isNaN() { in isNaN() method in HalfTest
179 assertFalse(Half.isNaN(POSITIVE_INFINITY)); in isNaN()
180 assertFalse(Half.isNaN(NEGATIVE_INFINITY)); in isNaN()
181 assertFalse(Half.isNaN(POSITIVE_ZERO)); in isNaN()
182 assertFalse(Half.isNaN(NEGATIVE_ZERO)); in isNaN()
183 assertTrue(Half.isNaN(NaN)); in isNaN()
184 assertTrue(Half.isNaN((short) 0x7c01)); in isNaN()
185 assertTrue(Half.isNaN((short) 0x7c18)); in isNaN()
186 assertTrue(Half.isNaN((short) 0xfc01)); in isNaN()
187 assertTrue(Half.isNaN((short) 0xfc98)); in isNaN()
[all …]
DJsonReaderTest.java251 assertTrue(Double.isNaN(reader.nextDouble())); in testDoubles()
272 assertTrue(Double.isNaN(reader.nextDouble())); in testLenientDoubles()
DRationalTest.java447 verifyAction("NaN", object, expected, object.isNaN()); in verifyNaN()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloat16Utils.java134 if (Double.isNaN(value) || Double.isInfinite(value)) { in roundToFloat16()
293 } else if (Double.isNaN(value)) { in convertDoubleToFloat16()
DFloatyUnitTest.java395 if (Double.isNaN(absoluteValue)) { in validateFloat16Ulp()
396 assertTrue("Ulp for NaN is not NaN", Double.isNaN(ulp)); in validateFloat16Ulp()
480 if (Double.isNaN(result[i]) && Double.isNaN(expected[i])) in validateRoundToFloat16()
DTarget.java344 if (Double.isNaN(f)) { in Floaty()
576 if (Double.isNaN(a)) { in couldBe()
DCoreMathVerifier.java3048 if (Float.isNaN(expected.remainder)) {
3050 if (!Float.isNaN(args.out)) {
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/
DTest_double_to_float.java78 assertTrue(Float.isNaN(t.run(Double.NaN))); in testB4()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/
DTest_float_to_double.java80 assertTrue(Double.isNaN(t.run(Float.NaN))); in testB4()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/
DTest_add_float.java63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/
DTest_add_float_2addr.java63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, in testB2()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamFloatTest.java35 if (Float.isNaN(expected)) { in assertEquals()
36 if (!Float.isNaN(actual)) { in assertEquals()
DProtoOutputStreamDoubleTest.java34 if (Double.isNaN(expected)) { in assertEquals()
35 if (!Double.isNaN(actual)) { in assertEquals()
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java314 if (Double.isNaN(value) || Double.isInfinite(value)) { in value()
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java341 assertFalse(Float.isNaN(event.luxValues[i]));
437 assertFalse(Float.isNaN(values[i])); in assertInRange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java100 if (Double.isNaN(dB[i])) { in responsePassesHifiTest()
/cts/tests/tests/location/src/android/location/cts/
DGnssPseudorangeVerificationTest.java305 if (Double.isNaN(calculatedLatLngAlt[0])) { in testPseudoPosition()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatedVectorDrawableParameterizedTest.java102 if (!Float.isNaN(sTransitionScaleBefore)) { in tearDownClass()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java469 if (((Float) keyValue).isInfinite() || ((Float) keyValue).isNaN()) { in serializeEntry()
DStaticMetadata.java1813 maxZoom >= 1.0f && !Float.isNaN(maxZoom) && !Float.isInfinite(maxZoom)); in getAvailableMaxDigitalZoomChecked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java315 if (((Float)keyValue).isInfinite() || ((Float)keyValue).isNaN()) { in serializeEntry()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1944 if (Float.isNaN(map[j]) || map[j] < 1.0f) { in verifyShadingMap()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2664 name: "isNaN"