Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java103 BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE); in testRoundToDouble_halfMinDouble() local
104 BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2)); in testRoundToDouble_halfMinDouble()
113 BigDecimal minDouble = new BigDecimal(-Double.MIN_VALUE); in testRoundToDouble_halfNegativeMinDouble() local
114 BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2)); in testRoundToDouble_halfNegativeMinDouble()
/external/guava/android/guava-tests/test/com/google/common/math/
DBigDecimalMathTest.java103 BigDecimal minDouble = new BigDecimal(Double.MIN_VALUE); in testRoundToDouble_halfMinDouble() local
104 BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2)); in testRoundToDouble_halfMinDouble()
113 BigDecimal minDouble = new BigDecimal(-Double.MIN_VALUE); in testRoundToDouble_halfNegativeMinDouble() local
114 BigDecimal halfMinDouble = minDouble.divide(BigDecimal.valueOf(2)); in testRoundToDouble_halfNegativeMinDouble()
/external/skia/src/ports/
DSkTypeface_mac_ct.cpp1147 double minDouble; in SkCTVariationFromSkFontArguments() local
1153 if (!SkCFNumberDynamicCast(min, &minDouble, nullptr, "Axis min") || in SkCTVariationFromSkFontArguments()
1182 value = SkTPin<double>(position.coordinates[j].value, minDouble, maxDouble); in SkCTVariationFromSkFontArguments()
1193 double wrongOpszDouble = ((maxDouble - minDouble) / 2.0) + minDouble; in SkCTVariationFromSkFontArguments()
1195 wrongOpszDouble = ((maxDouble - minDouble) / 4.0) + minDouble; in SkCTVariationFromSkFontArguments()
1291 double minDouble; in onGetVariationDesignParameters() local
1297 if (!SkCFNumberDynamicCast(min, &minDouble, nullptr, "Axis min") || in onGetVariationDesignParameters()
1306 skAxis.min = minDouble; in onGetVariationDesignParameters()
DSkFontMgr_mac_ct.cpp252 double minDouble; in ctvariation_from_skfontdata() local
254 if (!CFNumberGetValue(minNumber, kCFNumberDoubleType, &minDouble) || in ctvariation_from_skfontdata()
259 double value = SkTPin(SkFixedToDouble(fontData->getAxis()[i]), minDouble, maxDouble); in ctvariation_from_skfontdata()
/external/skqp/src/ports/
DSkFontHost_mac.cpp2684 double minDouble; in copy_axes() local
2687 if (!CFNumberGetValue(minNumber, kCFNumberDoubleType, &minDouble) || in copy_axes()
2700 minDouble, maxDouble); in copy_axes()
2783 double minDouble; in copy_axes() local
2785 if (!CFNumberGetValue(minNumber, kCFNumberDoubleType, &minDouble) || in copy_axes()
2790 double value = SkTPin(SkFixedToDouble(fontData->getAxis()[i]), minDouble, maxDouble); in copy_axes()
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java391 BigDecimal minDouble = new BigDecimal(-Double.MAX_VALUE); in testParserRejectOutOfRangeNumericValues() local
393 assertAccepts("optionalDouble", minDouble.toString()); in testParserRejectOutOfRangeNumericValues()
395 assertRejects("optionalDouble", minDouble.multiply(moreThanOne).toString()); in testParserRejectOutOfRangeNumericValues()