| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | ScaledNumber.cpp | 162 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()
|
| H A D | NativeFormatting.cpp | 169 std::optional<size_t> Precision) { in write_double() argument 170 size_t Prec = Precision.value_or(getDefaultPrecision(Style)); in write_double()
|
| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | formatter_float.bench.cpp | 187 struct Precision {}; struct 190 struct Precision<PrecisionE::None> { struct 195 struct Precision<PrecisionE::Zero> { argument 200 struct Precision<PrecisionE::Small> { argument 205 struct Precision<PrecisionE::Huge> { struct 230 …return std::string("{:") + Alignment<A::value>::fmt + Precision<P::value>::fmt + Localization<L::v… in make_fmt() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/ |
| H A D | LoongArch.td | 35 // Single Precision floating point 38 "'F' (Single-Precision Floating-Point)">; 42 "'F' (Single-Precision Floating-Point)">; 44 // Double Precision floating point 47 "'D' (Double-Precision Floating-Point)", 52 "'D' (Double-Precision Floating-Point)">;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVFeatures.td | 39 "'F' (Single-Precision Floating-Point)">; 42 "'F' (Single-Precision Floating-Point)">; 46 "'D' (Double-Precision Floating-Point)", 50 "'D' (Double-Precision Floating-Point)">; 76 "'Zfhmin' (Half-Precision Floating-Point Minimal)", 80 "'Zfhmin' (Half-Precision Floating-Point Minimal)">; 84 "'Zfh' (Half-Precision Floating-Point)", 88 "'Zfh' (Half-Precision Floating-Point)">; 94 "'Zfh' (Half-Precision Floating-Point) or " 95 "'Zfhmin' (Half-Precision Floating-Point Minimal)">; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/FileCheck/ |
| H A D | FileCheckImpl.h | 56 unsigned Precision = 0; member 68 Precision == Other.Precision && AlternateForm == Other.AlternateForm; 83 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){}; in ExpressionFormat() 84 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat() 85 : Value(Value), Precision(Precision){}; in ExpressionFormat() 86 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm) in ExpressionFormat() 87 : Value(Value), Precision(Precision), AlternateForm(AlternateForm){}; in ExpressionFormat()
|
| H A D | FileCheck.cpp | 51 return (Twine(AlternateFormPrefix) + S + Twine('{') + Twine(Precision) + in getWildcardRegex() 58 if (Precision) in getWildcardRegex() 62 if (Precision) in getWildcardRegex() 66 if (Precision) in getWildcardRegex() 70 if (Precision) in getWildcardRegex() 116 if (Precision > AbsoluteValueStr.size()) { in getMatchingString() 117 unsigned LeadingZeros = Precision - AbsoluteValueStr.size(); in getMatchingString() 775 unsigned Precision = 0; in parseNumericSubstitutionBlock() local 795 if (FormatExpr.consumeInteger(10, Precision)) in parseNumericSubstitutionBlock() 807 ExpressionFormat(ExpressionFormat::Kind::Unsigned, Precision); in parseNumericSubstitutionBlock() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | OSLog.cpp | 27 std::optional<const Expr *> Precision; member 117 ArgsData.back().Precision = Args[FS.getPrecision().getArgIndex()]; in HandlePrintfSpecifier() 150 if (Data.Precision) { in computeLayout() 151 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout() 152 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision, in computeLayout()
|
| H A D | PrintfFormatString.cpp | 706 Precision.setHowSpecified(OptionalAmount::NotSpecified); in fixType() 883 Precision.setHowSpecified(OptionalAmount::NotSpecified); in fixType() 925 Precision.toString(os); in toString() 1087 if (Precision.getHowSpecified() == OptionalAmount::NotSpecified) in hasValidPrecision()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | string_utils.cpp | 145 int Precision = -1; in formatString() local 148 Precision = va_arg(Args, int); in formatString() 159 CHECK(!((Precision >= 0 || LeftJustified) && *Cur != 's')); in formatString() 189 Precision, va_arg(Args, char *)); in formatString()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | FormatProviders.h | 315 std::optional<size_t> Precision = parseNumericPrecision(Style); 316 if (!Precision) 317 Precision = getDefaultPrecision(S); 319 write_double(Stream, static_cast<double>(V), S, Precision);
|
| H A D | ScaledNumber.h | 425 unsigned Precision); 427 unsigned Precision); 595 std::string toString(unsigned Precision = DefaultPrecision) { 596 return ScaledNumberBase::toString(Digits, Scale, Width, Precision); 603 unsigned Precision = DefaultPrecision) const { 604 return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
|
| H A D | NativeFormatting.h | 43 std::optional<size_t> Precision = std::nullopt);
|
| /openbsd-src/gnu/usr.bin/gcc/contrib/ |
| H A D | paranoia.cc | 985 FLOAT Precision; member 1120 Precision = Zero; in main() 1137 Precision = Precision + One; in main() 1154 E3 = Precision; in main() 1237 Precision = X / TwoForty; in main() 1238 Y = FLOOR (Half + Precision); in main() 1239 if (FABS (Precision - Y) * TwoForty < Half) in main() 1240 Precision = Y; in main() 1242 if ((Precision != FLOOR (Precision)) || (Radix == One)) in main() 1253 Precision.str()); in main() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMScheduleV6.td | 215 // Single-Precision FP to Integer Convert 218 // Double-Precision FP to Integer Convert 221 // Integer to Single-Precision FP Convert 224 // Integer to Double-Precision FP Convert
|
| H A D | ARMScheduleA8.td | 284 // Single-Precision FP to Integer Convert 288 // Double-Precision FP to Integer Convert 293 // Integer to Single-Precision FP Convert 297 // Integer to Double-Precision FP Convert
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | FormatString.h | 524 OptionalAmount Precision; variable 578 Precision = Amt; in setPrecision() 579 Precision.setUsesDotPrefix(); in setPrecision() 583 return Precision; in getPrecision()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/f/ |
| H A D | str-2t.fin | 48 Precision PRECISION
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_printf_test.cpp | 142 TEST(Printf, Precision) { in TEST() argument
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | strings_test.cpp | 56 TEST(ScudoStringsTest, Precision) { in TEST() argument
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/tests/ |
| H A D | FuzzerUnittest.cpp | 1405 const double Precision = 0.01; in TEST() local 1414 EXPECT_LT(SubAndSquare(II->Energy, 1.450805), Precision); in TEST() 1418 EXPECT_LT(SubAndSquare(II->Energy, 1.525496), Precision); in TEST() 1424 EXPECT_LT(SubAndSquare(II->Energy, 1.792831), Precision); in TEST()
|
| /openbsd-src/gnu/gcc/gcc/config/sh/ |
| H A D | sh4a.md | 196 ;; Double Precision floating point computation
|
| H A D | sh4.md | 411 ;; Single Precision FDIV/SQRT 422 ;; Double Precision floating point computation
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | README_P9.txt | 365 - Round to Quad-Precision Integer: xsrqpi xsrqpix 372 - Round Quad-Precision to Double-Extended Precision (fp80): xsrqpxp
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | MemorySSA.rst | 170 ``while.cond``. (See the `Use and Def optimization`_ and `Precision`_ 427 Precision subsection 466 Precision in practice
|