Home
last modified time | relevance | path

Searched refs:MIN_NORMAL (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java155 shouldAccept(subnormalFloaty, (double) Float.MIN_NORMAL + Float.MIN_NORMAL); in testFloat1UlpRelaxed()
156 shouldAccept(subnormalFloaty, (double) 0.f - Float.MIN_NORMAL); in testFloat1UlpRelaxed()
157 shouldNotAccept(subnormalFloaty, (double) Float.MIN_NORMAL + 2 * Float.MIN_NORMAL); in testFloat1UlpRelaxed()
158 shouldNotAccept(subnormalFloaty, (double) 0.f - 2 * Float.MIN_NORMAL); in testFloat1UlpRelaxed()
172 shouldAccept(subnormalFloaty, (double) Float.MIN_NORMAL + 8192 * Float.MIN_NORMAL); in testFloat8192UlpRelaxed()
173 shouldAccept(subnormalFloaty, (double) 0.f - 8192 * Float.MIN_NORMAL); in testFloat8192UlpRelaxed()
174 shouldNotAccept(subnormalFloaty, (double) Float.MIN_NORMAL + 8193 * Float.MIN_NORMAL); in testFloat8192UlpRelaxed()
175 shouldNotAccept(subnormalFloaty, (double) 0.f - 8193 * Float.MIN_NORMAL); in testFloat8192UlpRelaxed()
305 extraError = Float16Utils.MIN_NORMAL; in testExtraAllowedError()
324 extraError = Float16Utils.MIN_NORMAL; in testExtraAllowedError()
[all …]
DRSUtils.java109 array[r.nextInt(array.length)] = Double.MIN_NORMAL; in genRandomDoubles()
112 array[r.nextInt(array.length)] = -Double.MIN_NORMAL; in genRandomDoubles()
160 array[r.nextInt(array.length)] = Float.MIN_NORMAL; in genRandomFloats()
163 array[r.nextInt(array.length)] = -Float.MIN_NORMAL; in genRandomFloats()
DFloat16Utils.java37 static double MIN_NORMAL = Math.scalb(1.0, -14); // smallest Float16 normal is 2 ^ -14 field in Float16Utils
304 if (positiveValue < MIN_NORMAL) { in convertDoubleToFloat16()
DTarget.java520 answer = Float16Utils.MIN_NORMAL; in smallestNormal()
522 answer = Float.MIN_NORMAL; in smallestNormal()
524 answer = Double.MIN_NORMAL; in smallestNormal()
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java87 array[r.nextInt(array.length)] = Double.MIN_NORMAL; in genRandomDoubles()
90 array[r.nextInt(array.length)] = -Double.MIN_NORMAL; in genRandomDoubles()
138 array[r.nextInt(array.length)] = Float.MIN_NORMAL; in genRandomFloats()
141 array[r.nextInt(array.length)] = -Float.MIN_NORMAL; in genRandomFloats()
/cts/tests/tests/util/src/android/util/cts/
DJsonWriterTest.java182 jsonWriter.value(Double.MIN_NORMAL); in testDoubles()