Home
last modified time | relevance | path

Searched refs:minExponent (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java51 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomDoubles() local
53 if (minExponent < -6 || maxExponent > 6) { in genRandomDoubles()
55 int exponentDiff = maxExponent - minExponent; in genRandomDoubles()
58 int exponent = minExponent + r.nextInt(maxExponent - minExponent); in genRandomDoubles()
102 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomFloats() local
104 if (minExponent < -6 || maxExponent > 6) { in genRandomFloats()
106 int exponentDiff = maxExponent - minExponent; in genRandomFloats()
109 int exponent = minExponent + r.nextInt(maxExponent - minExponent); in genRandomFloats()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java73 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomDoubles() local
75 if (minExponent < -6 || maxExponent > 6) { in genRandomDoubles()
77 int exponentDiff = maxExponent - minExponent; in genRandomDoubles()
80 int exponent = minExponent + r.nextInt(maxExponent - minExponent); in genRandomDoubles()
124 int minExponent = Math.min(Math.getExponent(min), 0); in genRandomFloats() local
126 if (minExponent < -6 || maxExponent > 6) { in genRandomFloats()
128 int exponentDiff = maxExponent - minExponent; in genRandomFloats()
131 int exponent = minExponent + r.nextInt(maxExponent - minExponent); in genRandomFloats()