Home
last modified time | relevance | path

Searched refs:Rounding (Results 1 – 25 of 39) sorted by relevance

12

/third_party/FreeBSD/contrib/gdtoa/
Dgdtoa_fltrnds.h2 int Rounding; variable
4 Rounding = Flt_Rounds;
6 Rounding = 1;
8 case FE_TOWARDZERO: Rounding = 0; break;
9 case FE_UPWARD: Rounding = 2; break;
10 case FE_DOWNWARD: Rounding = 3;
14 if (Rounding != 1) {
17 fpi1.rounding = Rounding;
Dstrtod.c59 #define Rounding Flt_Rounds macro
132 int Rounding; local
134 Rounding = Flt_Rounds;
136 Rounding = 1;
138 case FE_TOWARDZERO: Rounding = 0; break;
139 case FE_UPWARD: Rounding = 2; break;
140 case FE_DOWNWARD: Rounding = 3;
180 fpi1.rounding = Rounding;
443 if (Rounding >= 2) {
445 Rounding = Rounding == 2 ? 0 : 2;
[all …]
/third_party/decimal.js/
Ddecimal.d.ts37 export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; alias
38 export type Modulo = Rounding | 9;
44 rounding?: Rounding;
186 toBinary(significantDigits: number, rounding: Decimal.Rounding): string;
189 toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
191 toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;
194 toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;
197 toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;
202 toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;
204 toHex(significantDigits: number, rounding?: Decimal.Rounding): string;
[all …]
Ddecimal.global.d.ts39 export type Rounding = DecimalRounding; alias
52 type Rounding = DecimalRounding; alias
Ddecimal.mjs1952 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
1967 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
1991 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2023 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2134 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2152 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2223 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2382 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
2412 * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.
3888 // Rounding up may mean the previous digit has to be rounded up and so on.
/third_party/icu/docs/userguide/format_parse/numbers/
Drounding-modes.md3 title: Rounding Modes
13 # Rounding Modes
28 ## Comparison of Rounding Modes
84 called Banker's Rounding because it is, on average, free of bias. It is the
148 * Wikipedia article on Rounding:
149 <http://en.wikipedia.org/wiki/Rounding#Tie-breaking>
150 * Live rounding mode chart: [Rounding Mode
Dskeletons.md276 ### Rounding Mode
289 For more details, see [Rounding Modes](rounding-modes.md).
/third_party/mesa3d/src/util/tests/
Droundeven_test.cpp34 TEST(Rounding, RoundevenFloat) in TEST() argument
70 TEST(Rounding, RoundevenDouble) in TEST() argument
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/text-rendering-tests/
DDISABLED4 # Rounding differences
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsAArch64.td190 // Vector Rounding Halving Add
205 // Vector Rounding Add High-Half
211 // Vector Saturating Rounding Doubling Multiply High
250 // Vector Rounding Subtract High-Half
327 // Vector Rounding Shift Left
331 // Vector Saturating Rounding Shift Left
341 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const
348 // Vector Rounding Narrowing Shift Right by Constant
351 // Vector Rounding Narrowing Saturating Shift Right by Constant
427 // Vector FP Rounding: only ties to even is unrepresented by a normal
DIRBuilder.h1172 Value *getConstrainedFPRounding(Optional<fp::RoundingMode> Rounding) { in getConstrainedFPRounding() argument
1175 if (Rounding.hasValue()) in getConstrainedFPRounding()
1176 UseRounding = Rounding.getValue(); in getConstrainedFPRounding()
1564 Optional<fp::RoundingMode> Rounding = None,
1566 Value *RoundingV = getConstrainedFPRounding(Rounding);
2203 Optional<fp::RoundingMode> Rounding = None,
2223 Value *RoundingV = getConstrainedFPRounding(Rounding);
2473 Optional<fp::RoundingMode> Rounding = None,
2490 UseArgs.push_back(getConstrainedFPRounding(Rounding));
DIntrinsicsARM.td523 // Vector Rounding Shift.
536 // Vector Saturating Rounding Shift.
605 // Vector and Scalar Rounding.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantRange.cpp191 APInt::Rounding::UP), in makeExactMulNUWRegion()
193 APInt::Rounding::DOWN) + 1); in makeExactMulNUWRegion()
212 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
213 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
215 Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
216 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAPInt.cpp2818 APInt::Rounding RM) { in RoundingUDiv()
2821 case APInt::Rounding::DOWN: in RoundingUDiv()
2822 case APInt::Rounding::TOWARD_ZERO: in RoundingUDiv()
2824 case APInt::Rounding::UP: { in RoundingUDiv()
2836 APInt::Rounding RM) { in RoundingSDiv()
2838 case APInt::Rounding::DOWN: in RoundingSDiv()
2839 case APInt::Rounding::UP: { in RoundingSDiv()
2849 if (RM == APInt::Rounding::DOWN) { in RoundingSDiv()
2859 case APInt::Rounding::TOWARD_ZERO: in RoundingSDiv()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h81 enum class Rounding { enum
2228 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
2231 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_half.inl159 // Rounding may cause the significand to overflow and make
/third_party/node/deps/v8/src/objects/
Dbigint.cc101 enum Rounding { kRoundDown, kTie, kRoundUp }; enum in v8::internal::MutableBigInt
102 static Rounding DecideRounding(Handle<BigIntBase> x, int mantissa_bits_unset,
1121 Rounding rounding = in ToDouble()
1145 MutableBigInt::Rounding MutableBigInt::DecideRounding(Handle<BigIntBase> x, in DecideRounding()
/third_party/python/Doc/library/
Ddecimal.rst96 enablers which determine whether signals are treated as exceptions. Rounding
952 Specification. Precision is set to nine. Rounding is set to
963 Specification. Precision is set to nine. Rounding is set to
1006 `Rounding Modes`_.
1495 Rounding modes
1614 Rounding occurred though possibly no information was lost.
/third_party/skia/src/core/
DSkVM.h194 enum Rounding { NEAREST, FLOOR, CEIL, TRUNC, CURRENT }; enum
195 void vroundps(Ymm dst, Operand x, Rounding);
207 void vcvtps2ph(Operand dst, Ymm x, Rounding);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZInstrVector.td1071 // Rounding mode should agree with SystemZInstrFP.td.
1080 // Rounding mode should agree with SystemZInstrFP.td.
1090 // Rounding mode should agree with SystemZInstrFP.td.
1099 // Rounding mode should agree with SystemZInstrFP.td.
/third_party/vixl/doc/aarch64/
Dsupported-instructions-aarch64.md4684 Rounding add narrow returning high half.
4691 Rounding add narrow returning high half (second part).
4726 Rounding shift right narrow by immediate.
4733 Rounding shift right narrow by immediate (second part).
4740 Rounding subtract narrow returning high half.
4747 Rounding subtract narrow returning high half (second part).
9691 Rounding add narrow high part (bottom).
9698 Rounding add narrow high part (top).
9775 Rounding shift right narrow by immediate (bottom).
9782 Rounding shift right narrow by immediate (top).
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMInstrNEON.td4280 // VRHADD : Vector Rounding Halving Add
4296 // VRADDHN : Vector Rounding Add and Narrow Returning High Half (D = Q + Q)
4407 // VQRDMULH : Vector Rounding Saturating Doubling Multiply Returning High Half
4524 // v8.1a Neon Rounding Double Multiply-Op vector operations,
4525 // VQRDMLAH : Vector Saturating Rounding Doubling Multiply Accumulate Long
4595 // VQRDMLSH : Vector Saturating Rounding Doubling Multiply Subtract Long
5075 // VRSUBHN : Vector Rounding Subtract and Narrow Returning High Half (D=Q-Q)
5945 // VRSHL : Vector Rounding Shift
5952 // VRSHR : Vector Rounding Shift Right
5958 // VRSHRN : Vector Rounding Shift Right and Narrow
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64.td65 "Enable ARMv8.1 Rounding Double Multiply Add/Subtract instructions">;
/third_party/skia/third_party/externals/imgui/docs/
DFONTS.md144 …settings: Dark style (left), Light style (right) / Font: NotoSansCJKjp-Medium, 20px / Rounding: 5)_
/third_party/mesa3d/docs/gallium/
Dtgsi.rst1031 Rounding is unspecified (round to nearest even suggested).
1046 Rounding is unspecified (round to nearest even suggested).
1061 Rounding is towards zero (truncate).
1077 Rounding is towards zero (truncate).

12