Home
last modified time | relevance | path

Searched refs:exponent_ (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/flang/lib/Decimal/
Ddecimal-to-binary.cpp64 ++exponent_; in ParseNumber()
76 exponent_ += q - limit; in ParseNumber()
81 exponent_ -= static_cast<int>(q - point - 1); in ParseNumber()
84 exponent_ = 0; // all zeros in ParseNumber()
126 exponent_ = 0; in ParseNumber()
130 exponent_ -= expo; in ParseNumber()
132 exponent_ += expo; in ParseNumber()
202 exponent_ += shift; in SetTo()
212 void AdjustExponent(int by) { exponent_ += by; } in AdjustExponent()
227 int exponent_{0}; member in Fortran::decimal::IntermediateFloat
[all …]
Dbinary-to-decimal.cpp56 ++exponent_;
136 int expo = exponent_ + p - start; in ConvertToDecimal()
212 int leastExponent{exponent_}; in Minimize()
213 if (less.exponent_ < leastExponent) { in Minimize()
214 leastExponent = less.exponent_; in Minimize()
216 if (more.exponent_ < leastExponent) { in Minimize()
217 leastExponent = more.exponent_; in Minimize()
219 while (exponent_ > leastExponent) { in Minimize()
220 --exponent_; in Minimize()
223 while (less.exponent_ > leastExponent) { in Minimize()
[all …]
Dbig-radix-floating-point.h78 exponent_ = 0; in SetToZero()
117 : digits_{that.digits_}, exponent_{that.exponent_}, in BigRadixFloatingPointNumber()
153 ++exponent_; in SetTo()
203 exponent_ += RemoveLeastOrderZeroDigits() * log10Radix; in RemoveLeastOrderZeroDigits()
253 exponent_ -= log10Radix; in RemoveLeastOrderZeroDigits()
355 int exponent_{0}; // signed power of ten in RemoveLeastOrderZeroDigits()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-bignum.cpp90 exponent_ = other.exponent_; in AssignBignum()
199 EnsureCapacity(1 + (std::max)(BigitLength(), other.BigitLength()) - exponent_); in AddBignum()
201 int bigit_pos = other.exponent_ - exponent_; in AddBignum()
233 const int offset = other.exponent_ - exponent_; in SubtractBignum()
256 exponent_ += (shift_amount / kBigitSize); in ShiftLeft()
435 exponent_ *= 2; in Square()
624 for (int i = 0; i < exponent_; ++i) { in ToHexString()
650 if (index < exponent_) { in BigitOrZero()
653 return RawBigit(index - exponent_); in BigitOrZero()
668 for (int i = bigit_length_a - 1; i >= (std::min)(a.exponent_, b.exponent_); --i) { in Compare()
[all …]
Ddouble-conversion-bignum.h56 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum()
140 exponent_ = 0; in Zero()
147 int BigitLength() const { return used_bigits_ + exponent_; } in BigitLength()
158 int16_t exponent_; variable
/external/icu/libicu/cts_headers/
Ddouble-conversion-bignum.h56 Bignum() : used_bigits_(0), exponent_(0) {} in Bignum()
140 exponent_ = 0; in Zero()
147 int BigitLength() const { return used_bigits_ + exponent_; } in BigitLength()
158 int16_t exponent_; variable
/external/gemmlowp/test/
Dtest_fixedpoint.cc171 RoundingDivideByPOTOp(int exponent) : exponent_(exponent) {} in RoundingDivideByPOTOp()
173 const double d = static_cast<double>(x) / (1ll << exponent_); in ReferenceOp()
178 return RoundingDivideByPOT(x, exponent_); in Op()
182 const int exponent_; member in gemmlowp::__anon6f94b9cb0111::TestFixedPoint::RoundingDivideByPOTOp
/external/llvm-project/flang/runtime/
Dedit-output.h60 char exponent_[16]; variable
Dedit-output.cpp98 char *eEnd{&exponent_[sizeof exponent_]}; in FormatExponent()
107 while (exponent > exponent_ + 2 /*E+*/ && exponent + ed > eEnd) { in FormatExponent()