Home
last modified time | relevance | path

Searched refs:Precision (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp28 Precision &outPrecision, in parseIncrementOption()
52 outPrecision = Precision::increment(increment); in parseIncrementOption()
55 outPrecision = Precision::increment(increment).withMinFraction(fractionLength); in parseIncrementOption()
122 Precision Precision::unlimited() { in unlimited()
123 return Precision(RND_NONE, {}); in unlimited()
126 FractionPrecision Precision::integer() { in integer()
130 FractionPrecision Precision::fixedFraction(int32_t minMaxFractionPlaces) { in fixedFraction()
138 FractionPrecision Precision::minFraction(int32_t minFractionPlaces) { in minFraction()
146 FractionPrecision Precision::maxFraction(int32_t maxFractionPlaces) { in maxFraction()
154 FractionPrecision Precision::minMaxFraction(int32_t minFractionPlaces, int32_t maxFractionPlaces) { in minMaxFraction()
[all …]
Dnumber_mapper.cpp130 Precision precision; in oldToNew()
132 precision = Precision::constructCurrency(currencyUsage).withCurrency(currency); in oldToNew()
135 precision = Precision::constructFraction(minFrac, maxFrac); in oldToNew()
137 precision = Precision::constructIncrement(roundingIncrement, minFrac); in oldToNew()
143 precision = Precision::constructSignificant(minSig, maxSig); in oldToNew()
145 precision = Precision::constructFraction(minFrac, maxFrac); in oldToNew()
147 precision = Precision::constructCurrency(currencyUsage); in oldToNew()
220 if (macros.precision.fType == Precision::PrecisionType::RND_FRACTION) { in oldToNew()
229 macros.precision = Precision::unlimited(); in oldToNew()
232 macros.precision = Precision::constructSignificant(1, maxFrac_ + 1); in oldToNew()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DPrecision.java24 public abstract class Precision { class
28 /* package-private */ Precision() { in Precision() method in Precision
50 public static Precision unlimited() { in unlimited()
198 public static Precision fixedSignificantDigits(int minMaxSignificantDigits) { in fixedSignificantDigits()
223 public static Precision minSignificantDigits(int minSignificantDigits) { in minSignificantDigits()
243 public static Precision maxSignificantDigits(int maxSignificantDigits) { in maxSignificantDigits()
266 …public static Precision minMaxSignificantDigits(int minSignificantDigits, int maxSignificantDigits… in minMaxSignificantDigits()
302 public static Precision increment(BigDecimal roundingIncrement) { in increment()
345 public Precision withMode(MathContext mathContext) { in withMode()
349 Precision other = createCopy(); in withMode()
[all …]
DNumberPropertyMapper.java20 import com.ibm.icu.number.Precision.FractionRounderImpl;
21 import com.ibm.icu.number.Precision.IncrementRounderImpl;
22 import com.ibm.icu.number.Precision.SignificantRounderImpl;
171 Precision rounding = null; in oldToNew()
173 rounding = Precision.constructCurrency(currencyUsage).withCurrency(currency); in oldToNew()
176 rounding = Precision.constructFraction(minFrac, maxFrac); in oldToNew()
178 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
187 rounding = Precision.constructSignificant(minSig, maxSig); in oldToNew()
189 rounding = Precision.constructFraction(minFrac, maxFrac); in oldToNew()
191 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
[all …]
DFractionPrecision.java17 public abstract class FractionPrecision extends Precision {
41 public Precision withMinDigits(int minSignificantDigits) { in withMinDigits()
70 public Precision withMaxDigits(int maxSignificantDigits) { in withMaxDigits()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DPrecision.java24 public abstract class Precision { class
28 /* package-private */ Precision() { in Precision() method in Precision
49 public static Precision unlimited() { in unlimited()
191 public static Precision fixedSignificantDigits(int minMaxSignificantDigits) { in fixedSignificantDigits()
215 public static Precision minSignificantDigits(int minSignificantDigits) { in minSignificantDigits()
234 public static Precision maxSignificantDigits(int maxSignificantDigits) { in maxSignificantDigits()
256 …public static Precision minMaxSignificantDigits(int minSignificantDigits, int maxSignificantDigits… in minMaxSignificantDigits()
291 public static Precision increment(BigDecimal roundingIncrement) { in increment()
333 public Precision withMode(MathContext mathContext) { in withMode()
337 Precision other = createCopy(); in withMode()
[all …]
DNumberPropertyMapper.java21 import android.icu.number.Precision.FractionRounderImpl;
22 import android.icu.number.Precision.IncrementRounderImpl;
23 import android.icu.number.Precision.SignificantRounderImpl;
172 Precision rounding = null; in oldToNew()
174 rounding = Precision.constructCurrency(currencyUsage).withCurrency(currency); in oldToNew()
177 rounding = Precision.constructFraction(minFrac, maxFrac); in oldToNew()
179 rounding = Precision.constructIncrement(roundingIncrement); in oldToNew()
188 rounding = Precision.constructSignificant(minSig, maxSig); in oldToNew()
190 rounding = Precision.constructFraction(minFrac, maxFrac); in oldToNew()
192 rounding = Precision.constructCurrency(currencyUsage); in oldToNew()
[all …]
DFractionPrecision.java17 public abstract class FractionPrecision extends Precision {
40 public Precision withMinDigits(int minSignificantDigits) { in withMinDigits()
68 public Precision withMaxDigits(int maxSignificantDigits) { in withMaxDigits()
/external/llvm/lib/Target/PowerPC/
Dp9-instrs.txt202 // VSX Scalar Quad-Precision Move Instructions
204 // VSX Scalar Copy Sign Quad-Precision X-form p.553
207 // VSX Scalar Absolute Quad-Precision X-form 531
208 // VSX Scalar Negate Quad-Precision X-form 627
209 // VSX Scalar Negative Absolute Quad-Precision X-form 626
215 // VSX Scalar Quad-Precision Elementary Arithmetic
217 // VSX Scalar Add Quad-Precision [using round to Odd] X-form 539
218 // VSX Scalar Divide Quad-Precision [using round to Odd] X-form 584
219 // VSX Scalar Multiply Quad-Precision [using round to Odd] X-form 622
222 // VSX Scalar Square Root Quad-Precision [using round to Odd] X-form 662
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h117 class Precision; variable
459 typedef Precision SignificantDigitsPrecision;
469 class U_I18N_API Precision : public UMemory {
489 static Precision unlimited();
716 Precision(const PrecisionType& type, const PrecisionUnion& union_) in Precision() function
719 Precision(UErrorCode errorCode) : fType(RND_ERROR) { in Precision() function
723 Precision() : fType(RND_BOGUS) {} in Precision() function
738 Precision withCurrency(const CurrencyUnit &currency, UErrorCode &status) const;
742 static Precision constructSignificant(int32_t minSig, int32_t maxSig);
744 static Precision
[all …]
/external/icu/libicu/cts_headers/unicode/
Dnumberformatter.h117 class Precision; variable
459 typedef Precision SignificantDigitsPrecision;
469 class U_I18N_API Precision : public UMemory {
489 static Precision unlimited();
716 Precision(const PrecisionType& type, const PrecisionUnion& union_) in Precision() function
719 Precision(UErrorCode errorCode) : fType(RND_ERROR) { in Precision() function
723 Precision() : fType(RND_BOGUS) {} in Precision() function
738 Precision withCurrency(const CurrencyUnit &currency, UErrorCode &status) const;
742 static Precision constructSignificant(int32_t minSig, int32_t maxSig);
744 static Precision
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DUnitsRouter.java12 import android.icu.number.Precision;
87 Precision rounder = micros == null ? null : micros.rounder; in route()
100 if (rounder != null && rounder instanceof Precision.BogusRounder) { in route()
101 Precision.BogusRounder bogus = (Precision.BogusRounder)rounder; in route()
108 rounder = bogus.into(Precision.integer().withMinDigits(2)); in route()
121 private static Precision parseSkeletonToPrecision(String precisionSkeleton) { in parseSkeletonToPrecision()
132 return Precision.increment(new BigDecimal(incrementValue)); in parseSkeletonToPrecision()
/external/llvm-project/llvm/test/MC/RISCV/
Drv32dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
Drv64dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
Drv32fc-valid.s21 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
22 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
27 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
28 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
34 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
35 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
40 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
41 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsRouter.java11 import com.ibm.icu.number.Precision;
85 Precision rounder = micros == null ? null : micros.rounder; in route()
98 if (rounder != null && rounder instanceof Precision.BogusRounder) { in route()
99 Precision.BogusRounder bogus = (Precision.BogusRounder)rounder; in route()
106 rounder = bogus.into(Precision.integer().withMinDigits(2)); in route()
119 private static Precision parseSkeletonToPrecision(String precisionSkeleton) { in parseSkeletonToPrecision()
130 return Precision.increment(new BigDecimal(incrementValue)); in parseSkeletonToPrecision()
/external/eigen/unsupported/Eigen/
DMPRealSupport78 …static inline Real highest (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::ma…
79 …static inline Real lowest (long Precision = mpfr::mpreal::get_default_prec()) { return -mpfr::ma…
82 …static inline Real Pi (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
83 …static inline Real Euler (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
84 …static inline Real Log2 (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
85 …static inline Real Catalan (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::con…
87 …static inline Real epsilon (long Precision = mpfr::mpreal::get_default_prec()) { return mpfr::mac…
91 …inline int digits10 (long Precision = mpfr::mpreal::get_default_prec()) { return std::numeric_lim…
/external/llvm-project/llvm/lib/Support/
DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
202 unsigned Precision) { in toString() argument
235 return toStringAPFloat(D, E, Precision); in toString()
278 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
281 if (!Precision || DigitsOut <= Precision) in toString()
286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
316 int Width, unsigned Precision) { in print() argument
317 return OS << toString(D, E, Width, Precision); in print()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
202 unsigned Precision) { in toString() argument
235 return toStringAPFloat(D, E, Precision); in toString()
278 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
281 if (!Precision || DigitsOut <= Precision) in toString()
286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
316 int Width, unsigned Precision) { in print() argument
317 return OS << toString(D, E, Width, Precision); in print()
/external/llvm/lib/Support/
DScaledNumber.cpp163 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
188 Float.toString(Chars, Precision, 0); in toStringAPFloat()
203 unsigned Precision) { in toString() argument
236 return toStringAPFloat(D, E, Precision); in toString()
279 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
282 if (!Precision || DigitsOut <= Precision) in toString()
287 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
317 int Width, unsigned Precision) { in print() argument
318 return OS << toString(D, E, Width, Precision); in print()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberFormatterApiTest.java43 import android.icu.number.Precision;
361 … NumberFormatter.with().notation(Notation.compactLong()).precision(Precision.integer()), in notationCompact()
661 .precision(Precision.fixedFraction(20)) in unitMeasure()
739 .precision(Precision.maxSignificantDigits(4)) in unitMeasure()
1330 .precision(Precision.minMaxSignificantDigits(1, 4)) in unitUsage()
1432 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1457 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1470 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1483 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1509 .precision(Precision.maxSignificantDigits(4)), in unitUsageSkeletons()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberFormatterApiTest.java42 import com.ibm.icu.number.Precision;
358 … NumberFormatter.with().notation(Notation.compactLong()).precision(Precision.integer()), in notationCompact()
658 .precision(Precision.fixedFraction(20)) in unitMeasure()
736 .precision(Precision.maxSignificantDigits(4)) in unitMeasure()
1327 .precision(Precision.minMaxSignificantDigits(1, 4)) in unitUsage()
1429 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1454 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1467 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1480 .precision(Precision.maxSignificantDigits(2)), in unitUsageSkeletons()
1506 .precision(Precision.maxSignificantDigits(4)), in unitUsageSkeletons()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dtriangular_solve_expander.h44 PrecisionConfig::Precision precision);
48 PrecisionConfig::Precision precision);
54 PrecisionConfig::Precision precision);
59 PrecisionConfig::Precision precision);
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmatrix.h85 xla::PrecisionConfig::Precision precision = xla::PrecisionConfig::DEFAULT);
88 xla::PrecisionConfig::Precision precision = xla::PrecisionConfig::DEFAULT);
118 xla::PrecisionConfig::Precision precision = xla::PrecisionConfig::DEFAULT);
121 xla::PrecisionConfig::Precision precision = xla::PrecisionConfig::DEFAULT);
132 xla::PrecisionConfig::Precision precision = xla::PrecisionConfig::DEFAULT);
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp114 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero()
140 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits()
153 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent()
166 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent()
179 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable()
452 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::Sh… in getCommonFuncCaseName()
460 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
485 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
497 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
542 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase()
[all …]

12345678910>>...15