Home
last modified time | relevance | path

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

/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java52 int maxExponent = Math.max(Math.getExponent(max), 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()
103 int maxExponent = Math.max(Math.getExponent(max), 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.java74 int maxExponent = Math.max(Math.getExponent(max), 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()
125 int maxExponent = Math.max(Math.getExponent(max), 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()