OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:maxDoubleValue
(Results
1 - 2
of
2
) sorted by null
/cts/tests/tests/renderscript/src/android/renderscript/cts/
RSUtils.java
168
public static void genRandomFloat16s(long seed, double minDoubleValue, double
maxDoubleValue
,
172
if (
maxDoubleValue
- minDoubleValue <= 1.) {
182
double maxValueInHalf = Float16Utils.roundToFloat16(
maxDoubleValue
)[0];
197
if (minDoubleValue < 0. &&
maxDoubleValue
> 0.) {
201
// If abs(minDoubleValue) is greater than
maxDoubleValue
, pick abs(minValue) as the
204
// and
maxDoubleValue
.
205
if (Math.abs(minDoubleValue) >
maxDoubleValue
) {
208
} else if (
maxDoubleValue
< 0.) {
210
Double.toString(minDoubleValue) + " to " + Double.toString(
maxDoubleValue
));
/external/guava/guava-tests/test/com/google/common/math/
DoubleMathTest.java
69
BigInteger
maxDoubleValue
= BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger();
70
assertTrue(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL).compareTo(
maxDoubleValue
) <= 0);
72
BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1).compareTo(
maxDoubleValue
) > 0);
Completed in 663 milliseconds