Home
last modified time | relevance | path

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

1234

/netbsd-src/lib/libc/gdtoa/
H A Dgdtoa_fltrnds.h3 int Rounding; variable
5 Rounding = Flt_Rounds;
7 Rounding = 1;
9 case FE_TOWARDZERO: Rounding = 0; break;
10 case FE_UPWARD: Rounding = 2; break;
11 case FE_DOWNWARD: Rounding = 3;
15 if (Rounding != 1) {
18 fpi1.rounding = Rounding;
H A Ddtoa.c74 #define Rounding Flt_Rounds macro
138 int Rounding; local
140 Rounding = Flt_Rounds;
142 Rounding = 1;
144 case FE_TOWARDZERO: Rounding = 0; break;
145 case FE_UPWARD: Rounding = 2; break;
146 case FE_DOWNWARD: Rounding = 3;
195 if (Rounding >= 2) {
197 Rounding = Rounding == 2 ? 0 : 2;
199 if (Rounding != 2)
[all …]
H A Dg_ddfmt.c50 int Rounding; local
52 Rounding = Flt_Rounds;
54 Rounding = 1;
56 case FE_TOWARDZERO: Rounding = 0; break;
57 case FE_UPWARD: Rounding = 2; break;
58 case FE_DOWNWARD: Rounding = 3;
62 #define Rounding FPI_Round_near macro
178 fpi.rounding = Rounding;
H A Dstrtod.c61 #define Rounding Flt_Rounds macro
120 int Rounding, decpt = 0; local
122 Rounding = Flt_Rounds;
124 Rounding = 1;
126 case FE_TOWARDZERO: Rounding = 0; break;
127 case FE_UPWARD: Rounding = 2; break;
128 case FE_DOWNWARD: Rounding = 3;
168 fpi1.rounding = Rounding;
436 if (Rounding >= 2) {
438 Rounding = Rounding == 2 ? 0 : 2;
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/fr400/
H A Dmaveh.cgs10 ; Test Rounding toward positive infinity via RDAV
71 ; Test Rounding toward nearest via RD
132 ; Test Rounding toward zero via RD
193 ; Test Rounding toward positive infinity via RD
254 ; Test Rounding toward negative infinity via RD
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/arm/iwmmxt/
H A Dwavg2.cgs43 # Test Byte Wide Averaging with Rounding
95 # Test Half Word Wide Averaging with Rounding
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DIntrinsicInst.cpp220 Optional<RoundingMode> Rounding = getRoundingMode(); in isDefaultFPEnvironment() local
221 if (Rounding) { in isDefaultFPEnvironment()
222 if (Rounding.getValue() != RoundingMode::NearestTiesToEven) in isDefaultFPEnvironment()
H A DConstantRange.cpp197 APInt::Rounding::UP), in makeExactMulNUWRegion()
199 APInt::Rounding::DOWN) + 1); in makeExactMulNUWRegion()
218 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
219 Upper = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
221 Lower = APIntOps::RoundingSDiv(MinValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
222 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
H A DIRBuilder.cpp813 Optional<RoundingMode> Rounding, in CreateConstrainedFPBinOp() argument
815 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPBinOp()
847 Optional<RoundingMode> Rounding, in CreateConstrainedFPCast() argument
867 Value *RoundingV = getConstrainedFPRounding(Rounding); in CreateConstrainedFPCast()
910 Optional<RoundingMode> Rounding, in CreateConstrainedFPCall() argument
926 UseArgs.push_back(getConstrainedFPRounding(Rounding)); in CreateConstrainedFPCall()
/netbsd-src/lib/libc/softfloat/
H A Dsoftfloat.txt49 Rounding Modes
50 Extended Double-Precision Rounding Precision
133 Rounding Modes
144 Extended Double-Precision Rounding Precision
257 Rounding of the extended double-precision (`floatx80') functions is affected
/netbsd-src/lib/libc/gdtoa/test/
H A Df.out281 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
458 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
635 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
812 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A Dd.out279 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
456 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
633 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
810 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A DxL.ou0331 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
544 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
757 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
970 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A DQ.ou0329 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
542 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
755 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
968 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A DQ.ou1409 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
674 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
939 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
1204 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A Dx.ou0331 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
544 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
757 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
970 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A Ddd.out377 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
622 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
867 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
1112 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A DxL.ou1411 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
674 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
937 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
1200 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
H A Dx.ou1409 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
672 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
935 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
1198 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIntrinsicsAArch64.td233 // Vector Rounding Halving Add
248 // Vector Rounding Add High-Half
256 // Vector Saturating Rounding Doubling Multiply High
297 // Vector Rounding Subtract High-Half
374 // Vector Rounding Shift Left
378 // Vector Saturating Rounding Shift Left
388 // Vector Signed->Unsigned Rounding Narrowing Saturating Shift Right by Const
395 // Vector Rounding Narrowing Shift Right by Constant
398 // Vector Rounding Narrowing Saturating Shift Right by Constant
471 // v8.5-A Vector FP Rounding
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAPInt.cpp2817 APInt::Rounding RM) { in RoundingUDiv()
2820 case APInt::Rounding::DOWN: in RoundingUDiv()
2821 case APInt::Rounding::TOWARD_ZERO: in RoundingUDiv()
2823 case APInt::Rounding::UP: { in RoundingUDiv()
2835 APInt::Rounding RM) { in RoundingSDiv()
2837 case APInt::Rounding::DOWN: in RoundingSDiv()
2838 case APInt::Rounding::UP: { in RoundingSDiv()
2848 if (RM == APInt::Rounding::DOWN) { in RoundingSDiv()
2858 case APInt::Rounding::TOWARD_ZERO: in RoundingSDiv()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPInt.h82 enum class Rounding { enum
2241 APInt RoundingUDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
2244 APInt RoundingSDiv(const APInt &A, const APInt &B, APInt::Rounding RM);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A Darm_fp16.td36 // Rounding
H A Darm_neon.td1317 // Scalar Saturating Rounding Shift Left
1319 // Scalar Shift Rounding Left
1327 // Signed/Unsigned Rounding Shift Right (Immediate)
1332 // Signed/Unsigned Rounding Shift Right and Accumulate (Immediate)
1397 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1402 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1406 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
1625 // Scalar Integer Saturating Rounding Doubling Multiply Half High
1632 // Signed Saturating Rounding Doubling Multiply Accumulate Returning High Half
1638 // Signed Saturating Rounding Doubling Multiply Subtract Returning High Half
/netbsd-src/lib/libc/gdtoa/test/obad/
H A DxL.out409 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
672 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
935 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
1198 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)

1234