|
LLVM 23.0.0git
|
#include "llvm/ADT/APFloat.h"
Friends | |
| LLVM_ABI friend int | ilogb (const DoubleAPFloat &X) |
| LLVM_ABI friend DoubleAPFloat | scalbn (const DoubleAPFloat &X, int Exp, roundingMode RM) |
| LLVM_ABI friend DoubleAPFloat | frexp (const DoubleAPFloat &X, int &Exp, roundingMode) |
| LLVM_ABI friend hash_code | hash_value (const DoubleAPFloat &Arg) |
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const fltSemantics & | S | ) |
Definition at line 4709 of file APFloat.cpp.
References DoubleAPFloat().
Referenced by add(), bitwiseIsEqual(), compare(), compareAbsoluteValue(), convertFromString(), divide(), DoubleAPFloat(), DoubleAPFloat(), DoubleAPFloat(), frexp, fusedMultiplyAdd(), hash_value, ilogb, isLargest(), isSmallest(), isSmallestNormalized(), mod(), multiply(), next(), operator=(), operator=(), remainder(), scalbn, and subtract().
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const fltSemantics & | S, |
| uninitializedTag | ) |
Definition at line 4716 of file APFloat.cpp.
References llvm::detail::uninitialized.
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const fltSemantics & | S, |
| integerPart | I ) |
Definition at line 4723 of file APFloat.cpp.
References I.
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const fltSemantics & | S, |
| const APInt & | I ) |
Definition at line 4730 of file APFloat.cpp.
References I.
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const fltSemantics & | S, |
| APFloat && | First, | ||
| APFloat && | Second ) |
Definition at line 4738 of file APFloat.cpp.
References llvm::First.
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | const DoubleAPFloat & | RHS | ) |
Definition at line 4747 of file APFloat.cpp.
References DoubleAPFloat().
| llvm::detail::DoubleAPFloat::DoubleAPFloat | ( | DoubleAPFloat && | RHS | ) |
Definition at line 4755 of file APFloat.cpp.
References assert(), and DoubleAPFloat().
|
inline |
Definition at line 1753 of file APFloat.h.
Referenced by operator=(), and operator=().
| APFloat::opStatus llvm::detail::DoubleAPFloat::add | ( | const DoubleAPFloat & | RHS, |
| roundingMode | RM ) |
| APInt llvm::detail::DoubleAPFloat::bitcastToAPInt | ( | ) | const |
Definition at line 5266 of file APFloat.cpp.
References assert(), and llvm::Data.
Referenced by convertToHexString(), divide(), fusedMultiplyAdd(), mod(), remainder(), and toString().
| bool llvm::detail::DoubleAPFloat::bitwiseIsEqual | ( | const DoubleAPFloat & | RHS | ) | const |
Definition at line 5255 of file APFloat.cpp.
References DoubleAPFloat().
| void llvm::detail::DoubleAPFloat::changeSign | ( | ) |
Definition at line 5139 of file APFloat.cpp.
Referenced by convertFromAPInt(), makeLargest(), next(), and subtract().
| APFloat::cmpResult llvm::detail::DoubleAPFloat::compare | ( | const DoubleAPFloat & | RHS | ) | const |
Definition at line 5247 of file APFloat.cpp.
References llvm::APFloatBase::cmpEqual, and DoubleAPFloat().
Referenced by isLargest(), isSmallest(), isSmallestNormalized(), and next().
| APFloat::cmpResult llvm::detail::DoubleAPFloat::compareAbsoluteValue | ( | const DoubleAPFloat & | RHS | ) | const |
Definition at line 5145 of file APFloat.cpp.
References llvm::detail::cmpEqual, llvm::detail::cmpGreaterThan, llvm::detail::cmpLessThan, DoubleAPFloat(), and isZero().
| APFloat::opStatus llvm::detail::DoubleAPFloat::convertFromAPInt | ( | const APInt & | Input, |
| bool | IsSigned, | ||
| roundingMode | RM ) |
Definition at line 5657 of file APFloat.cpp.
References changeSign(), llvm::APInt::getNumWords(), llvm::APInt::getRawData(), and llvm::APInt::negate().
| Expected< APFloat::opStatus > llvm::detail::DoubleAPFloat::convertFromString | ( | StringRef | S, |
| roundingMode | RM ) |
Definition at line 5276 of file APFloat.cpp.
References assert(), llvm::APFloat::bitcastToAPInt(), llvm::APFloat::convertFromString(), and DoubleAPFloat().
| unsigned int llvm::detail::DoubleAPFloat::convertToHexString | ( | char * | DST, |
| unsigned int | HexDigits, | ||
| bool | UpperCase, | ||
| roundingMode | RM ) const |
Definition at line 5672 of file APFloat.cpp.
References assert(), bitcastToAPInt(), and llvm::APFloat::convertToHexString().
| APFloat::opStatus llvm::detail::DoubleAPFloat::convertToInteger | ( | MutableArrayRef< integerPart > | Input, |
| unsigned int | Width, | ||
| bool | IsSigned, | ||
| roundingMode | RM, | ||
| bool * | IsExact ) const |
Definition at line 5493 of file APFloat.cpp.
References assert(), llvm::detail::fcNaN, getCategory(), isNegative(), llvm::detail::opInvalidOp, llvm::partCountForBits(), llvm::detail::tcSetLeastSignificantBits(), and llvm::APInt::tcShiftLeft().
| APFloat::opStatus llvm::detail::DoubleAPFloat::divide | ( | const DoubleAPFloat & | RHS, |
| APFloat::roundingMode | RM ) |
Definition at line 5015 of file APFloat.cpp.
References assert(), llvm::APFloat::bitcastToAPInt(), bitcastToAPInt(), llvm::APFloat::divide(), and DoubleAPFloat().
| APFloat::opStatus llvm::detail::DoubleAPFloat::fusedMultiplyAdd | ( | const DoubleAPFloat & | Multiplicand, |
| const DoubleAPFloat & | Addend, | ||
| APFloat::roundingMode | RM ) |
Definition at line 5047 of file APFloat.cpp.
References assert(), llvm::APFloat::bitcastToAPInt(), bitcastToAPInt(), DoubleAPFloat(), and llvm::APFloat::fusedMultiplyAdd().
| APFloat::fltCategory llvm::detail::DoubleAPFloat::getCategory | ( | ) | const |
Definition at line 5198 of file APFloat.cpp.
Referenced by convertToInteger(), llvm::detail::frexp(), ilogb, isDenormal(), isLargest(), isSmallest(), isSmallestNormalized(), and next().
| int llvm::detail::DoubleAPFloat::getExactLog2Abs | ( | ) | const |
Definition at line 5730 of file APFloat.cpp.
References llvm::APFloat::getExactLog2Abs(), getFirst(), and getSecond().
|
inline |
Definition at line 1748 of file APFloat.h.
Referenced by llvm::detail::frexp(), getExactLog2Abs(), ilogb, next(), and roundToIntegral().
|
inline |
Definition at line 1750 of file APFloat.h.
Referenced by llvm::detail::frexp(), getExactLog2Abs(), ilogb, next(), and roundToIntegral().
| bool llvm::detail::DoubleAPFloat::isDenormal | ( | ) | const |
Definition at line 5682 of file APFloat.cpp.
References llvm::detail::fcNormal, getCategory(), and isDenormal().
Referenced by isDenormal().
| bool llvm::detail::DoubleAPFloat::isInteger | ( | ) | const |
Definition at line 5714 of file APFloat.cpp.
References assert().
| bool llvm::detail::DoubleAPFloat::isLargest | ( | ) | const |
Definition at line 5706 of file APFloat.cpp.
References llvm::detail::cmpEqual, compare(), DoubleAPFloat(), llvm::detail::fcNormal, getCategory(), isNegative(), and makeLargest().
| bool llvm::detail::DoubleAPFloat::isNegative | ( | ) | const |
Definition at line 5202 of file APFloat.cpp.
Referenced by convertToInteger(), llvm::detail::frexp(), isLargest(), isSmallest(), isSmallestNormalized(), next(), and roundToIntegral().
| bool llvm::detail::DoubleAPFloat::isSmallest | ( | ) | const |
Definition at line 5689 of file APFloat.cpp.
References llvm::detail::cmpEqual, compare(), DoubleAPFloat(), llvm::detail::fcNormal, getCategory(), isNegative(), and makeSmallest().
| bool llvm::detail::DoubleAPFloat::isSmallestNormalized | ( | ) | const |
Definition at line 5697 of file APFloat.cpp.
References llvm::detail::cmpEqual, compare(), DoubleAPFloat(), llvm::detail::fcNormal, getCategory(), isNegative(), and makeSmallestNormalized().
| void llvm::detail::DoubleAPFloat::makeInf | ( | bool | Neg | ) |
Definition at line 5204 of file APFloat.cpp.
Referenced by next().
| void llvm::detail::DoubleAPFloat::makeLargest | ( | bool | Neg | ) |
Definition at line 5214 of file APFloat.cpp.
References assert(), and changeSign().
Referenced by isLargest(), and next().
| void llvm::detail::DoubleAPFloat::makeSmallest | ( | bool | Neg | ) |
Definition at line 5225 of file APFloat.cpp.
References assert().
Referenced by isSmallest(), and next().
| void llvm::detail::DoubleAPFloat::makeSmallestNormalized | ( | bool | Neg | ) |
Definition at line 5232 of file APFloat.cpp.
References assert().
Referenced by isSmallestNormalized().
| void llvm::detail::DoubleAPFloat::makeZero | ( | bool | Neg | ) |
Definition at line 5209 of file APFloat.cpp.
Referenced by next().
| APFloat::opStatus llvm::detail::DoubleAPFloat::mod | ( | const DoubleAPFloat & | RHS | ) |
Definition at line 5036 of file APFloat.cpp.
References assert(), llvm::APFloat::bitcastToAPInt(), bitcastToAPInt(), DoubleAPFloat(), and llvm::APFloat::mod().
| APFloat::opStatus llvm::detail::DoubleAPFloat::multiply | ( | const DoubleAPFloat & | RHS, |
| APFloat::roundingMode | RM ) |
Definition at line 4929 of file APFloat.cpp.
References A(), llvm::APFloat::add(), assert(), B(), llvm::CallingConv::C, D(), DoubleAPFloat(), llvm::detail::fcInfinity, llvm::detail::fcNaN, llvm::detail::fcNormal, llvm::detail::fcZero, llvm::APFloat::fusedMultiplyAdd(), llvm::detail::opOK, and T.
|
inline |
| APFloat::opStatus llvm::detail::DoubleAPFloat::next | ( | bool | nextDown | ) |
Definition at line 5292 of file APFloat.cpp.
References assert(), changeSign(), llvm::detail::cmpGreaterThan, compare(), DoubleAPFloat(), llvm::detail::fcInfinity, llvm::detail::fcNaN, llvm::detail::fcNormal, llvm::detail::fcZero, getCategory(), getFirst(), getSecond(), llvm::harrisonUlp(), llvm::Hi, llvm::APFloat::isInfinity(), isNegative(), llvm::APFloat::isZero(), llvm::Lo, makeInf(), makeLargest(), makeNaN(), makeSmallest(), makeZero(), llvm::neg(), llvm::APFloat::next(), next(), llvm::detail::opInvalidOp, llvm::detail::opOK, llvm::detail::rmTowardZero, scalbn, and llvm::detail::uninitialized.
Referenced by next().
| DoubleAPFloat & llvm::detail::DoubleAPFloat::operator= | ( | const DoubleAPFloat & | RHS | ) |
Definition at line 4762 of file APFloat.cpp.
References DoubleAPFloat(), and ~DoubleAPFloat().
|
inline |
Definition at line 1740 of file APFloat.h.
References DoubleAPFloat(), RHS, and ~DoubleAPFloat().
| APFloat::opStatus llvm::detail::DoubleAPFloat::remainder | ( | const DoubleAPFloat & | RHS | ) |
Definition at line 5026 of file APFloat.cpp.
References assert(), llvm::APFloat::bitcastToAPInt(), bitcastToAPInt(), DoubleAPFloat(), and llvm::APFloat::remainder().
| APFloat::opStatus llvm::detail::DoubleAPFloat::roundToIntegral | ( | APFloat::roundingMode | RM | ) |
Definition at line 5062 of file APFloat.cpp.
References llvm::detail::abs(), llvm::APFloat::add(), assert(), llvm::detail::fastTwoSum(), getFirst(), llvm::APFloat::getOne(), getSecond(), llvm::Hi, llvm::APFloat::isNegative(), isNegative(), llvm::Lo, llvm::detail::rmNearestTiesToAway, llvm::detail::rmNearestTiesToEven, llvm::detail::rmTowardNegative, llvm::detail::rmTowardPositive, llvm::detail::rmTowardZero, and llvm::APFloat::roundToIntegral().
| APFloat::opStatus llvm::detail::DoubleAPFloat::subtract | ( | const DoubleAPFloat & | RHS, |
| roundingMode | RM ) |
Definition at line 4921 of file APFloat.cpp.
References add(), changeSign(), and DoubleAPFloat().
| void llvm::detail::DoubleAPFloat::toString | ( | SmallVectorImpl< char > & | Str, |
| unsigned | FormatPrecision, | ||
| unsigned | FormatMaxPadding, | ||
| bool | TruncateZero = true ) const |
Definition at line 5720 of file APFloat.cpp.
References assert(), bitcastToAPInt(), and llvm::APFloat::toString().
|
friend |
References DoubleAPFloat(), LLVM_ABI, and X.
|
friend |
Definition at line 5260 of file APFloat.cpp.
References DoubleAPFloat(), llvm::hash_combine(), hash_value, and llvm::detail::hash_value().
Referenced by hash_value.
|
friend |
Definition at line 5739 of file APFloat.cpp.
References DoubleAPFloat(), llvm::detail::fcNormal, getCategory(), getFirst(), getSecond(), llvm::Hi, llvm::detail::ilogb(), and llvm::Lo.
|
friend |
References DoubleAPFloat(), LLVM_ABI, and X.
Referenced by next().