Searched refs:binaryPrecision (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/flang/include/flang/Common/ |
D | real.h | 21 static constexpr int BitsForBinaryPrecision(int binaryPrecision) { in BitsForBinaryPrecision() argument 22 switch (binaryPrecision) { in BitsForBinaryPrecision() 45 static constexpr int MaxDecimalConversionDigits(int binaryPrecision) { in MaxDecimalConversionDigits() argument 46 switch (binaryPrecision) { in MaxDecimalConversionDigits() 66 static constexpr int RealKindForPrecision(int binaryPrecision) { in RealKindForPrecision() argument 67 switch (binaryPrecision) { in RealKindForPrecision() 118 static constexpr int binaryPrecision{BINARY_PRECISION}; 119 static constexpr int bits{BitsForBinaryPrecision(binaryPrecision)}; 120 static constexpr bool isImplicitMSB{binaryPrecision != 64 /*x87*/}; 121 static constexpr int significandBits{binaryPrecision - isImplicitMSB}; [all …]
|
/external/llvm-project/flang/runtime/ |
D | edit-output.cpp | 159 template <int binaryPrecision> 160 decimal::ConversionToDecimalResult RealOutputEditing<binaryPrecision>::Convert( in Convert() 165 auto converted{decimal::ConvertToDecimal<binaryPrecision>(buffer_, in Convert() 177 template <int binaryPrecision> 178 bool RealOutputEditing<binaryPrecision>::EditEorDOutput(const DataEdit &edit) { in EditEorDOutput() 259 template <int binaryPrecision> 260 bool RealOutputEditing<binaryPrecision>::EditFOutput(const DataEdit &edit) { in EditFOutput() 329 template <int binaryPrecision> 330 DataEdit RealOutputEditing<binaryPrecision>::EditForGOutput(DataEdit edit) { in EditForGOutput() 362 template <int binaryPrecision> [all …]
|
D | edit-input.cpp | 265 constexpr int binaryPrecision{common::PrecisionOfRealKind(KIND)}; in EditCommonRealInput() local 267 common::MaxDecimalConversionDigits(binaryPrecision)}; in EditCommonRealInput() 286 decimal::ConversionToBinaryResult<binaryPrecision> converted{ in EditCommonRealInput() 287 decimal::ConvertToBinary<binaryPrecision>(p, edit.modes.round)}; in EditCommonRealInput() 293 *reinterpret_cast<decimal::BinaryFloatingPointNumber<binaryPrecision> *>(n) = in EditCommonRealInput() 300 constexpr int binaryPrecision{common::PrecisionOfRealKind(KIND)}; in EditRealInput() local 312 io, edit, n, 2, common::BitsForBinaryPrecision(binaryPrecision)); in EditRealInput() 315 io, edit, n, 8, common::BitsForBinaryPrecision(binaryPrecision)); in EditRealInput() 318 io, edit, n, 16, common::BitsForBinaryPrecision(binaryPrecision)); in EditRealInput()
|
D | edit-output.h | 65 static constexpr int binaryPrecision{common::PrecisionOfRealKind(KIND)}; 67 decimal::BinaryFloatingPointNumber<binaryPrecision>;
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | real.h | 42 static constexpr int binaryPrecision{PREC}; 52 using Fraction = Integer<binaryPrecision>; // all bits made explicit 136 false, exponentBias - binaryPrecision, Fraction::MASKL(1)); in EPSILON() 141 huge.Normalize(false, maxExponent - 1, Fraction::MASKR(binaryPrecision)); in HUGE() 150 static constexpr int DIGITS{binaryPrecision}; 229 exponent - exponentBias - binaryPrecision + 1}; // positive -> left 262 int bitsLost{A::binaryPrecision - binaryPrecision};
|
/external/llvm-project/flang/lib/Evaluate/ |
D | real.cpp | 274 constexpr int noClipExponent{exponentBias + binaryPrecision - 1}; in ToWholeNumber() 366 sum.value = sum.value.IBSET(binaryPrecision - 1); in Round()
|
/external/llvm-project/flang/lib/Decimal/ |
D | big-radix-floating-point.h | 61 -Real::exponentBias - Real::binaryPrecision};
|
/external/llvm-project/flang/unittests/Evaluate/ |
D | real.cpp | 94 int significandBits{R::binaryPrecision - R::isImplicitMSB}; in basicTests()
|