Home | History | Annotate | Download | only in Sema

Lines Matching defs:Precision

424     const size_t Precision = computePrecision(FS);
443 Size += std::max(FieldWidth, Precision);
455 Precision ? 1 + Precision
465 (Precision ? 1 + Precision : 0) /* period + decimal */ +
475 (Precision ? 1 + Precision : 0) /* period + decimal */ +
487 Size += std::max(FieldWidth, 2 /* leading 0x */ + Precision);
514 // Force a period '.' before decimal, even if precision is 0.
523 Size += (Precision ? 0 : 1);
545 size_t Precision = 0;
547 // See man 3 printf for default precision value based on the specifier.
556 Precision = 1;
564 Precision = 1;
572 Precision = 6;
575 Precision = 1;
580 Precision = FW.getConstantAmount();
585 return Precision;
8463 // First check if the field width, precision, and conversion specifier
8470 if (!HandleAmount(FS.getPrecision(), /* precision */ 1,
8476 // FIXME: Technically specifying a precision or field width here
8583 // Check for invalid use of precision
8585 HandleInvalidAmount(FS, FS.getPrecision(), /* precision */ 1,
8589 // Precision is mandatory for %P specifier.
9152 // FIXME: Technically specifying a precision or field width here
11855 // FIXME: Force the precision of the source value down so we don't print
11861 unsigned precision = llvm::APFloat::semanticsPrecision(Value.getSemantics());
11862 precision = (precision * 59 + 195) / 196;
11863 Value.toString(PrettySourceValue, precision);
11935 /// floating-point precision.
11963 // If both source and target are floating points, warn about losing precision.
12493 // Determine the number of precision bits in the source integer type.
12498 // Determine the number of precision bits in the
12530 // Otherwise, the implicit conversion may lose precision.
12767 // precision loss, because C++11 narrowing already handles it.